Build Information
Failed to build CoreMLLLM, reference v1.9.0 (c69a4e), with Swift 6.2 for Android on 28 Jun 2026 18:31:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/john-rocky/CoreML-LLM.git
Reference: v1.9.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/john-rocky/CoreML-LLM
* tag v1.9.0 -> FETCH_HEAD
HEAD is now at c69a4e9 feat(gemma4-e4b): multimodal CoreML bundle (text+image+video+audio on iPhone) (#165)
Cloned https://github.com/john-rocky/CoreML-LLM.git
Revision (git rev-parse @):
c69a4e9bb8f9574f7b332babd93bb745c1022c11
SUCCESS checkout https://github.com/john-rocky/CoreML-LLM.git at v1.9.0
========================================
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-53886768-0":/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:3f0849bce0d177c252f57ff0847fffe59d625aee973279c71a52a43c740d3c90
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/6801] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers from cache (0.60s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.3 (0.77s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
[1/2421] Fetching swift-huggingface
[26/3557] Fetching swift-huggingface, swift-jinja
[3558/28796] Fetching swift-huggingface, swift-jinja, swift-collections
[5325/33394] Fetching swift-huggingface, swift-jinja, swift-collections, yyjson
[5326/51155] Fetching swift-huggingface, swift-jinja, swift-collections, yyjson, swift-crypto
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.89s)
[28586/50019] Fetching swift-huggingface, swift-collections, yyjson, swift-crypto
Fetched https://github.com/huggingface/swift-huggingface.git from cache (1.10s)
[41737/47598] Fetching swift-collections, yyjson, swift-crypto
Fetched https://github.com/apple/swift-collections.git from cache (1.12s)
[17564/22359] Fetching yyjson, swift-crypto
Fetched https://github.com/ibireme/yyjson.git from cache (1.34s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.35s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.21s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.15s)
Fetching https://github.com/mattt/EventSource.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.36s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (0.51s)
Fetching https://github.com/apple/swift-nio.git
[1/84154] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.01s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.6 (3.15s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.23s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.101.2 (0.34s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1868] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
[1/5941] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.71s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.7.2 (0.17s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.0 (1.15s)
Fetching https://github.com/apple/swift-asn1.git
[1/1905] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.1 (0.64s)
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.1
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.1
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.0
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.6
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.101.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.7.2
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.3
Building for debugging...
[0/461] Write sources
[3/461] Copying t5_tokenizer_config.json
[3/461] Copying gpt2_tokenizer_config.json
[5/461] Write sources
[26/461] Compiling _AtomicsShims.c
[27/461] Compiling KeccakHash.c
[28/461] Compiling CXKCPShims shims.c
[28/461] Compiling SimpleFIPS202.c
[30/461] Compiling KeccakSponge.c
[31/461] Compiling CNIOWindows shim.c
[32/461] Compiling CNIOWindows WSAStartup.c
[33/461] Compiling CNIOWASI CNIOWASI.c
[34/461] Compiling CNIOOpenBSD shim.c
[35/461] Compiling CNIOLinux liburing_shims.c
[36/461] Compiling CNIODarwin shim.c
[37/461] Compiling CNIOFreeBSD shim.c
[38/461] Compiling fiat_p256_adx_sqr.S
[39/461] Compiling CNIOLinux shim.c
[40/461] Compiling fiat_p256_adx_mul.S
[41/461] Compiling fiat_curve25519_adx_square.S
[42/461] Compiling fiat_curve25519_adx_mul.S
[43/461] Compiling md5-x86_64-linux.S
[44/461] Compiling md5-x86_64-apple.S
[45/461] Compiling md5-586-linux.S
[46/461] Compiling md5-586-apple.S
[47/461] Compiling CCryptoBoringSSLShims shims.c
[48/461] Compiling chacha20_poly1305_x86_64-linux.S
[49/461] Compiling chacha20_poly1305_armv8-win.S
[50/461] Compiling chacha20_poly1305_x86_64-apple.S
[51/461] Compiling KeccakP-1600-opt64.c
[52/461] Compiling chacha20_poly1305_armv8-apple.S
[53/461] Compiling chacha20_poly1305_armv8-linux.S
[53/461] Compiling chacha-x86_64-linux.S
[55/461] Compiling chacha-x86_64-apple.S
[56/461] Compiling chacha-x86-linux.S
[57/461] Compiling chacha-x86-apple.S
[58/461] Compiling chacha-armv8-win.S
[59/461] Compiling chacha-armv8-apple.S
[60/461] Compiling chacha-armv4-linux.S
[61/461] Compiling chacha-armv8-linux.S
[62/461] Compiling aes128gcmsiv-x86_64-apple.S
[63/461] Compiling aes128gcmsiv-x86_64-linux.S
[64/461] Compiling x86_64-mont5-linux.S
[65/461] Compiling x86_64-mont-linux.S
[66/461] Compiling x86_64-mont5-apple.S
[67/461] Compiling x86_64-mont-apple.S
[68/461] Compiling x86-mont-apple.S
[69/461] Compiling x86-mont-linux.S
[70/461] Compiling vpaes-x86_64-linux.S
[71/461] Compiling vpaes-x86_64-apple.S
[72/461] Compiling vpaes-x86-linux.S
[73/461] Compiling vpaes-x86-apple.S
[74/461] Compiling err_data.cc
[75/461] Compiling vpaes-armv8-win.S
[76/461] Compiling vpaes-armv8-linux.S
[77/461] Compiling vpaes-armv8-apple.S
[78/461] Compiling vpaes-armv7-linux.S
[79/461] Compiling sha512-x86_64-linux.S
[80/461] Compiling sha512-x86_64-apple.S
[81/461] Compiling sha512-armv8-win.S
[82/461] Compiling sha512-armv4-linux.S
[83/461] Compiling sha512-armv8-apple.S
[84/461] Compiling sha512-armv8-linux.S
[85/461] Compiling sha512-586-linux.S
[86/461] Compiling sha512-586-apple.S
[87/461] Compiling sha256-x86_64-linux.S
[88/461] Compiling sha256-x86_64-apple.S
[89/461] Compiling sha256-armv8-win.S
[90/461] Compiling sha256-armv4-linux.S
[91/461] Compiling sha256-armv8-apple.S
[92/461] Compiling sha256-586-linux.S
[93/461] Compiling sha256-armv8-linux.S
[94/461] Compiling sha256-586-apple.S
[95/461] Compiling sha1-x86_64-apple.S
[96/461] Compiling sha1-x86_64-linux.S
[97/461] Compiling sha1-armv8-win.S
[98/461] Compiling sha1-armv4-large-linux.S
[99/461] Compiling sha1-armv8-apple.S
[100/461] Compiling sha1-armv8-linux.S
[101/461] Compiling sha1-586-linux.S
[102/461] Compiling rsaz-avx2-linux.S
[103/461] Compiling rdrand-x86_64-linux.S
[104/461] Compiling rsaz-avx2-apple.S
[105/461] Compiling sha1-586-apple.S
[106/461] Compiling rdrand-x86_64-apple.S
[107/461] Compiling p256_beeu-x86_64-asm-linux.S
[108/461] Compiling p256_beeu-armv8-asm-win.S
[109/461] Compiling p256_beeu-x86_64-asm-apple.S
[110/461] Compiling p256_beeu-armv8-asm-apple.S
[111/461] Compiling p256-x86_64-asm-linux.S
[112/461] Compiling p256_beeu-armv8-asm-linux.S
[113/461] Compiling p256-x86_64-asm-apple.S
[114/461] Compiling p256-armv8-asm-win.S
[115/461] Compiling p256-armv8-asm-apple.S
[116/461] Compiling ghashv8-armv8-win.S
[117/461] Compiling p256-armv8-asm-linux.S
[118/461] Compiling ghashv8-armv8-linux.S
[119/461] Compiling ghashv8-armv7-linux.S
[120/461] Compiling ghash-x86_64-linux.S
[120/461] Compiling ghashv8-armv8-apple.S
[122/461] Compiling ghash-x86_64-apple.S
[123/461] Compiling ghash-x86-apple.S
[124/461] Compiling ghash-ssse3-x86_64-linux.S
[125/461] Compiling ghash-x86-linux.S
[126/461] Compiling ghash-ssse3-x86_64-apple.S
[127/461] Compiling ghash-ssse3-x86-apple.S
[128/461] Compiling ghash-ssse3-x86-linux.S
[129/461] Compiling ghash-neon-armv8-win.S
[130/461] Compiling ghash-neon-armv8-linux.S
[131/461] Compiling ghash-neon-armv8-apple.S
[132/461] Compiling ghash-armv4-linux.S
[133/461] Compiling co-586-linux.S
[134/461] Compiling co-586-apple.S
[135/461] Compiling bsaes-armv7-linux.S
[136/461] Compiling bn-armv8-win.S
[137/461] Compiling bn-armv8-linux.S
[138/461] Compiling bn-armv8-apple.S
[139/461] Compiling bn-586-linux.S
[140/461] Compiling armv8-mont-win.S
[141/461] Compiling bn-586-apple.S
[142/461] Compiling armv8-mont-apple.S
[143/461] Compiling armv8-mont-linux.S
[144/461] Compiling armv4-mont-linux.S
[144/461] Compiling aesv8-gcm-armv8-win.S
[146/461] Compiling aesv8-gcm-armv8-apple.S
[147/461] Compiling aesv8-armv8-win.S
[148/461] Compiling aesv8-armv8-linux.S
[149/461] Compiling aesv8-gcm-armv8-linux.S
[150/461] Compiling aesv8-armv8-apple.S
[151/461] Compiling aesni-x86_64-apple.S
[152/461] Compiling aesv8-armv7-linux.S
[153/461] Compiling aesni-x86_64-linux.S
[154/461] Compiling aesni-gcm-x86_64-linux.S
[155/461] Compiling aesni-x86-apple.S
[156/461] Compiling aesni-x86-linux.S
[157/461] Compiling aesni-gcm-x86_64-apple.S
[158/461] Compiling aes-gcm-avx2-x86_64-apple.S
[159/461] Compiling aes-gcm-avx512-x86_64-apple.S
[160/461] Compiling aes-gcm-avx512-x86_64-linux.S
[161/461] Compiling aes-gcm-avx2-x86_64-linux.S
[162/461] Compiling xwing.cc
[163/461] Compiling x_spki.cc
[163/461] Compiling x_x509a.cc
[165/461] Compiling x_x509.cc
[166/461] Write swift-version--11D90AFD9DD3AB2.txt
[167/461] Compiling yyjson.c
[168/461] Compiling x_sig.cc
[169/465] Compiling c-nioatomics.c
[170/465] Compiling c-atomics.c
[172/485] Emitting module _NIOBase64
[172/485] Compiling x_name.cc
[173/485] Compiling x_exten.cc
[174/492] Compiling x_req.cc
[175/492] Compiling x_pubkey.cc
[176/492] Compiling x_crl.cc
[178/492] Emitting module _NIODataStructures
[178/492] Compiling x_attrib.cc
[179/492] Compiling x_all.cc
[180/492] Compiling x509spki.cc
[181/492] Compiling x_algor.cc
[182/492] Compiling x509cset.cc
[183/492] Compiling x509_vpm.cc
[184/492] Compiling x509rset.cc
[185/492] Compiling x509name.cc
[186/492] Compiling x509_txt.cc
[187/492] Compiling x509_v3.cc
[189/492] Compiling InternalCollectionsUtilities Integer rank.swift
[190/492] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[191/492] Compiling InternalCollectionsUtilities UInt+reversed.swift
[192/494] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[193/494] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[194/494] Compiling _NIODataStructures PriorityQueue.swift
[194/494] Compiling x509_trs.cc
[196/494] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[197/494] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[197/494] Compiling x509_vfy.cc
[199/494] Compiling NIOConcurrencyHelpers NIOLock.swift
[200/494] Compiling InternalCollectionsUtilities _SortedCollection.swift
[201/494] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[202/494] Compiling _NIODataStructures _TinyArray.swift
[203/494] Compiling _NIOBase64 Base64.swift
[204/495] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[205/495] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[207/495] Emitting module InternalCollectionsUtilities
[208/495] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[209/495] Emitting module NIOConcurrencyHelpers
[210/495] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[211/495] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[212/495] Compiling InternalCollectionsUtilities Span+Extras.swift
[213/495] Compiling InternalCollectionsUtilities String+Padding.swift
[214/495] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[215/495] Compiling InternalCollectionsUtilities Debugging.swift
[216/495] Compiling InternalCollectionsUtilities Descriptions.swift
[217/495] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[218/496] Compiling NIOConcurrencyHelpers lock.swift
[219/496] Compiling NIOConcurrencyHelpers atomics.swift
[221/496] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[222/496] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[222/497] Compiling x509_set.cc
[223/497] Compiling x509_req.cc
[226/498] Compiling _NIODataStructures Heap.swift
[226/498] Wrapping AST for _NIOBase64 for debugging
[227/556] Wrapping AST for NIOConcurrencyHelpers for debugging
[228/564] Wrapping AST for InternalCollectionsUtilities for debugging
[231/591] Compiling ContainersPreview PermutableContainer.swift
[232/591] Compiling ContainersPreview RandomAccessContainer.swift
[233/591] Compiling ContainersPreview RangeExpression2.swift
[234/591] Compiling ContainersPreview RangeReplaceableContainer.swift
[235/591] Compiling ContainersPreview Strideable+Limits.swift
[236/595] Compiling ContainersPreview Container+SpanwiseZip.swift
[237/595] Compiling ContainersPreview Container.swift
[238/595] Compiling ContainersPreview ContainerIterator.swift
[239/595] Compiling ContainersPreview DynamicContainer.swift
[240/595] Compiling ContainersPreview MutableContainer.swift
[241/595] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[242/595] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[243/595] Compiling ContainersPreview BorrowingSequence.swift
[244/595] Compiling ContainersPreview BidirectionalContainer.swift
[245/595] Compiling ContainersPreview Container+Filter.swift
[246/595] Compiling ContainersPreview Drain+Map.swift
[247/595] Compiling ContainersPreview Drain+Reduce.swift
[248/595] Compiling ContainersPreview Drain.swift
[249/595] Compiling ContainersPreview Producer+Collect.swift
[250/595] Compiling ContainersPreview Producer+Filter.swift
[251/595] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[252/595] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[253/595] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[254/595] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[255/595] Compiling ContainersPreview BorrowingSequence+Algorithms.swift
[256/595] Emitting module ContainersPreview
[257/595] Compiling ContainersPreview Ref.swift
[258/595] Compiling ContainersPreview Shared.swift
[259/595] Compiling ContainersPreview SpanIterator.swift
[260/595] Compiling ContainersPreview UniqueBox.swift
[261/595] Compiling ContainersPreview Producer+Map.swift
[262/595] Compiling ContainersPreview Producer+Reduce.swift
[263/595] Compiling ContainersPreview Producer.swift
[264/595] Compiling ContainersPreview InputSpan.swift
[265/595] Compiling ContainersPreview MutableRef.swift
[266/595] Compiling ContainersPreview OutputSpan+Extras.swift
[267/595] Compiling ContainersPreview TemporaryAllocation.swift
[268/595] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[269/595] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[270/595] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[271/596] Compiling x509_lu.cc
[272/637] Wrapping AST for _NIODataStructures for debugging
[273/637] Wrapping AST for ContainersPreview for debugging
[274/637] Compiling x509_obj.cc
[276/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[277/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[278/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[279/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[280/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[281/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[282/637] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[283/637] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[284/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[285/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[286/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[287/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[288/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[289/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[290/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[291/637] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[291/644] Compiling x509_ext.cc
[293/644] Compiling DequeModule UniqueDeque+Hashable.swift
[294/644] Compiling DequeModule UniqueDeque+Initializers.swift
[295/644] Compiling DequeModule UniqueDeque+Insertions.swift
[296/644] Compiling DequeModule UniqueDeque+Prepend.swift
[297/644] Compiling DequeModule UniqueDeque+Removals.swift
[298/644] Compiling DequeModule UniqueDeque+Container.swift
[299/644] Compiling DequeModule UniqueDeque+Deprecated.swift
[300/644] Compiling DequeModule UniqueDeque+Descriptions.swift
[301/644] Compiling DequeModule UniqueDeque+Equatable.swift
[302/644] Compiling DequeModule UniqueDeque+Experimental.swift
[302/649] Compiling x509_d2.cc
[303/649] Compiling x509_def.cc
[305/649] Compiling DequeModule Deque+Testing.swift
[306/649] Compiling DequeModule Deque._Storage.swift
[307/649] Compiling DequeModule Deque._UnsafeHandle.swift
[308/649] Compiling DequeModule Deque.swift
[309/649] Compiling DequeModule RigidDeque+Equatable.swift
[310/649] Compiling DequeModule RigidDeque+Experimental.swift
[311/649] Compiling DequeModule RigidDeque+Hashable.swift
[312/649] Compiling DequeModule RigidDeque+Initializers.swift
[312/649] Compiling x509_cmp.cc
[318/649] Compiling DequeModule RigidDeque+Insertions.swift
[319/649] Compiling DequeModule RigidDeque+Prepend.swift
[320/649] Compiling DequeModule RigidDeque+Removals.swift
[321/649] Compiling DequeModule RigidDeque+Replacements.swift
[322/649] Compiling DequeModule RigidDeque+Testing.swift
[323/649] Compiling DequeModule RigidDeque.swift
[324/649] Compiling DequeModule UniqueDeque+Append.swift
[325/649] Compiling DequeModule UniqueDeque+Consumption.swift
[326/649] Compiling DequeModule _DequeBuffer.swift
[327/649] Compiling DequeModule _DequeBufferHeader.swift
[328/649] Compiling DequeModule RigidDeque+Append.swift
[329/649] Compiling DequeModule RigidDeque+Consumption.swift
[330/649] Compiling DequeModule RigidDeque+Container.swift
[331/649] Compiling DequeModule RigidDeque+Descriptions.swift
[356/649] Compiling DequeModule Deque+Codable.swift
[357/649] Compiling DequeModule Deque+Collection.swift
[358/649] Compiling DequeModule Deque+CustomReflectable.swift
[359/649] Compiling DequeModule Deque+Descriptions.swift
[360/649] Compiling DequeModule Deque+Equatable.swift
[361/649] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[362/649] Compiling DequeModule Deque+Extras.swift
[363/649] Compiling DequeModule Deque+Hashable.swift
[363/649] Compiling x509_att.cc
[364/649] Compiling x509.cc
[377/649] Compiling v3_prn.cc
[379/649] Compiling OrderedCollections OrderedSet+Sendable.swift
[380/649] Compiling OrderedCollections OrderedSet+SubSequence.swift
[381/649] Compiling OrderedCollections OrderedSet+Testing.swift
[382/649] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[383/649] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[384/649] Compiling OrderedCollections OrderedSet.swift
[385/649] Compiling OrderedCollections _UnsafeBitset.swift
[385/649] Compiling v3_utl.cc
[386/649] Compiling v3_purp.cc
[387/649] Compiling v3_skey.cc
[388/649] Compiling v3_pmaps.cc
[389/649] Compiling v3_pcons.cc
[391/649] Emitting module OrderedCollections
[392/659] Compiling v3_ocsp.cc
[393/664] Wrapping AST for OrderedCollections for debugging
[394/664] Compiling v3_lib.cc
[395/664] Compiling v3_ncons.cc
[396/664] Compiling v3_ia5.cc
[397/664] Compiling v3_int.cc
[398/664] Compiling v3_info.cc
[400/664] Compiling DequeModule UniqueDeque+Replacements.swift
[401/664] Compiling DequeModule UniqueDeque.swift
[402/664] Compiling DequeModule _DequeSlot.swift
[403/664] Compiling DequeModule _UnsafeDequeHandle.swift
[404/664] Compiling DequeModule _UnsafeDequeSegments.swift
[404/664] Compiling v3_genn.cc
[406/664] Emitting module DequeModule
[407/665] Compiling v3_extku.cc
[408/665] Wrapping AST for DequeModule for debugging
[409/665] Compiling v3_crld.cc
[410/665] Compiling v3_enum.cc
[411/665] Compiling v3_conf.cc
[412/665] Compiling v3_cpols.cc
[413/665] Compiling v3_bitst.cc
[414/665] Compiling v3_bcons.cc
[415/665] Compiling v3_alt.cc
[416/665] Compiling v3_akeya.cc
[417/665] Compiling v3_akey.cc
[418/665] Compiling t_x509.cc
[420/665] Compiling Jinja Utilities.swift
[420/666] Compiling t_x509a.cc
[421/666] Compiling t_req.cc
[422/666] Compiling t_crl.cc
[423/666] Compiling i2d_pr.cc
[424/666] Compiling rsa_pss.cc
[425/666] Compiling policy.cc
[426/666] Compiling by_file.cc
[427/666] Compiling name_print.cc
[429/666] Compiling Jinja Tests.swift
[430/666] Compiling Jinja Token.swift
[430/666] Compiling by_dir.cc
[431/666] Compiling algorithm.cc
[432/666] Compiling asn1_gen.cc
[433/666] Compiling a_verify.cc
[434/666] Compiling a_sign.cc
[435/666] Compiling thread_win.cc
[436/666] Compiling a_digest.cc
[437/666] Compiling voprf.cc
[438/666] Compiling thread_pthread.cc
[439/666] Compiling trust_token.cc
[440/666] Compiling thread_none.cc
[441/666] Compiling thread.cc
[442/666] Compiling pmbtoken.cc
[443/666] Compiling stack.cc
[444/666] Compiling siphash.cc
[445/666] Compiling sha512.cc
[446/666] Compiling slhdsa.cc
[447/666] Compiling sha1.cc
[448/666] Compiling sha256.cc
[449/666] Compiling spake2plus.cc
[450/666] Compiling rsa_print.cc
[451/666] Compiling rsa_extra.cc
[453/666] Compiling Jinja AST.swift
[454/666] Compiling Jinja Error.swift
[455/666] Compiling Jinja PropertyMembers.swift
[456/666] Compiling Jinja Template.swift
[457/666] Compiling Jinja Macro.swift
[458/666] Compiling Jinja Parser.swift
[458/666] Compiling windows.cc
[460/666] Compiling Jinja Interpreter.swift
[461/666] Compiling Jinja Lexer.swift
[462/666] Compiling Jinja Filters.swift
[463/666] Compiling Jinja Globals.swift
[464/666] Emitting module Jinja
[464/666] Compiling refcount.cc
[465/666] Compiling rc4.cc
[466/666] Compiling urandom.cc
[467/666] Compiling trusty.cc
[468/666] Compiling rsa_crypt.cc
[470/666] Compiling Jinja Value.swift
[471/667] Compiling rsa_asn1.cc
[472/667] Wrapping AST for Jinja for debugging
[473/667] Compiling rand.cc
[474/667] Compiling ios.cc
[475/667] Compiling passive.cc
[476/667] Compiling poly1305_arm_asm.S
[477/667] Compiling getentropy.cc
[478/667] Compiling forkunsafe.cc
[479/667] Compiling fork_detect.cc
[480/667] Compiling deterministic.cc
[481/667] Compiling poly1305_vec.cc
[482/667] Compiling poly1305_arm.cc
[483/667] Compiling poly1305.cc
[484/667] Compiling pool.cc
[485/667] Compiling pkcs8.cc
[486/667] Compiling pkcs8_x509.cc
[487/667] Compiling p5_pbev2.cc
[488/667] Compiling pkcs7.cc
[489/667] Compiling pkcs7_x509.cc
[490/667] Compiling pem_xaux.cc
[491/667] Compiling pem_x509.cc
[492/667] Compiling pem_pkey.cc
[493/667] Compiling pem_oth.cc
[494/667] Compiling pem_pk8.cc
[495/667] Compiling mlkem.cc
[496/667] Compiling pem_lib.cc
[497/667] Compiling pem_info.cc
[498/667] Compiling obj_xref.cc
[499/667] Compiling pem_all.cc
[500/667] Compiling obj.cc
[501/667] Compiling poly_rq_mul.S
[502/667] Compiling mldsa.cc
[503/667] Compiling mem.cc
[504/667] Compiling fips_shared_support.cc
[505/667] Compiling lhash.cc
[506/667] Compiling md4.cc
[507/667] Compiling md5.cc
[508/667] Compiling fuzzer_mode.cc
[509/667] Compiling kyber.cc
[510/667] Compiling ex_data.cc
[511/667] Compiling hrss.cc
[511/667] Compiling hpke.cc
[513/667] Compiling scrypt.cc
[514/667] Compiling pbkdf.cc
[515/667] Compiling sign.cc
[516/667] Compiling print.cc
[517/667] Compiling p_x25519_asn1.cc
[518/667] Compiling p_x25519.cc
[519/667] Compiling p_rsa_asn1.cc
[520/667] Compiling p_rsa.cc
[521/667] Compiling p_ed25519.cc
[522/667] Compiling p_hkdf.cc
[523/667] Compiling p_ed25519_asn1.cc
[524/667] Compiling p_ec_asn1.cc
[525/667] Compiling p_ec.cc
[526/667] Compiling p_dsa_asn1.cc
[527/667] Compiling p_dh.cc
[528/667] Compiling p_dh_asn1.cc
[529/667] Compiling evp_ctx.cc
[530/667] Compiling evp_asn1.cc
[531/667] Compiling err.cc
[532/667] Compiling ecdsa_p1363.cc
[533/667] Compiling engine.cc
[534/667] Compiling evp.cc
[535/667] Compiling ecdh.cc
[536/667] Compiling ecdsa_asn1.cc
[537/667] Compiling ec_derive.cc
[538/667] Compiling dsa.cc
[539/667] Compiling hash_to_curve.cc
[540/667] Compiling ec_asn1.cc
[541/667] Compiling dsa_asn1.cc
[542/667] Compiling digest_extra.cc
[543/667] Compiling curve25519_64_adx.cc
[544/667] Compiling params.cc
[545/667] Compiling x25519-asm-arm.S
[546/667] Compiling des.cc
[547/667] Compiling dh_asn1.cc
[548/667] Compiling spake25519.cc
[549/667] Compiling curve25519.cc
[550/667] Compiling crypto.cc
[551/667] Compiling cpu_intel.cc
[552/667] Compiling cpu_arm_linux.cc
[553/667] Compiling cpu_arm_freebsd.cc
[554/667] Compiling cpu_aarch64_win.cc
[555/667] Compiling cpu_aarch64_sysreg.cc
[556/667] Compiling cpu_aarch64_linux.cc
[557/667] Compiling cpu_aarch64_openbsd.cc
[558/667] Compiling cpu_aarch64_fuchsia.cc
[559/667] Compiling cpu_aarch64_apple.cc
[560/667] Compiling conf.cc
[561/667] Compiling get_cipher.cc
[562/667] Compiling tls_cbc.cc
[563/667] Compiling e_tls.cc
[564/667] Compiling e_rc4.cc
[565/667] Compiling e_rc2.cc
[566/667] Compiling cms.cc
[567/667] Compiling e_null.cc
[568/667] Compiling e_des.cc
[569/667] Compiling e_chacha20poly1305.cc
[570/667] Compiling e_aesgcmsiv.cc
[571/667] Compiling e_aeseax.cc
[572/667] Compiling derive_key.cc
[573/667] Compiling e_aesctrhmac.cc
[574/667] Compiling chacha.cc
[575/667] Compiling unicode.cc
[576/667] Compiling buf.cc
[577/667] Compiling sqrt.cc
[578/667] Compiling cbb.cc
[579/667] Compiling cbs.cc
[580/667] Compiling exponentiation.cc
[581/667] Compiling ber.cc
[582/667] Compiling asn1_compat.cc
[583/667] Compiling div.cc
[584/667] Compiling blake2.cc
[585/667] Compiling printf.cc
[586/667] Compiling pair.cc
[587/667] Compiling hexdump.cc
[588/667] Compiling bn_asn1.cc
[589/667] Compiling convert.cc
[590/667] Compiling file.cc
[591/667] Compiling fd.cc
[592/667] Compiling errno.cc
[593/667] Compiling bio_mem.cc
[594/667] Compiling bio.cc
[595/667] Compiling base64.cc
[596/667] Compiling tasn_typ.cc
[597/667] Compiling tasn_utl.cc
[598/667] Compiling tasn_fre.cc
[599/667] Compiling tasn_enc.cc
[600/667] Compiling posix_time.cc
[601/667] Compiling tasn_new.cc
[602/667] Compiling f_string.cc
[603/667] Compiling tasn_dec.cc
[604/667] Compiling f_int.cc
[605/667] Compiling asn_pack.cc
[606/667] Compiling asn1_par.cc
[607/667] Compiling bcm.cc
[608/667] Compiling asn1_lib.cc
[609/667] Compiling a_utctm.cc
[610/667] Compiling a_octet.cc
[611/667] Compiling a_time.cc
[612/667] Compiling a_type.cc
[613/667] Compiling a_strnid.cc
[614/667] Compiling a_strex.cc
[615/667] Compiling a_object.cc
[616/667] Compiling a_i2d_fp.cc
[617/667] Compiling a_mbstr.cc
[617/667] Write sources
[621/667] Compiling a_dup.cc
[621/667] Compiling a_d2i_fp.cc
[623/685] Compiling a_int.cc
[624/685] Compiling a_gentm.cc
[625/685] Compiling a_bool.cc
[626/685] Compiling aes.cc
[628/685] Compiling Atomics ManagedAtomic.swift
[629/685] Compiling Atomics ManagedAtomicLazyReference.swift
[630/685] Compiling Atomics AtomicMemoryOrderings.swift
[631/685] Compiling Atomics DoubleWord.swift
[632/685] Compiling Atomics UnsafeAtomic.swift
[633/685] Compiling Atomics UnsafeAtomicLazyReference.swift
[633/687] Compiling a_bitstr.cc
[635/687] Compiling Atomics OptionalRawRepresentable.swift
[636/687] Compiling Atomics RawRepresentable.swift
[637/687] Compiling Atomics AtomicBool.swift
[638/695] Compiling Atomics IntegerOperations.swift
[639/695] Compiling Atomics Unmanaged extensions.swift
[640/695] Compiling Atomics AtomicInteger.swift
[641/695] Compiling Atomics AtomicOptionalWrappable.swift
[642/695] Compiling Atomics AtomicReference.swift
[643/695] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[644/695] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[645/695] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[646/695] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[647/695] Compiling CryptoBoringWrapper EllipticCurve.swift
[648/695] Compiling CryptoBoringWrapper RandomBytes.swift
[649/695] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[650/695] Emitting module CryptoBoringWrapper
[652/696] Emitting module Atomics
[652/696] Wrapping AST for CryptoBoringWrapper for debugging
[654/780] Compiling Crypto ASN1.swift
[655/780] Compiling Crypto ASN1Any.swift
[656/780] Compiling Crypto ASN1BitString.swift
[657/780] Compiling Crypto ASN1Boolean.swift
[658/780] Compiling Crypto ASN1Identifier.swift
[659/781] Wrapping AST for Atomics for debugging
[661/845] Compiling NIOCore NIOCoreSendableMetatype.swift
[662/845] Compiling NIOCore NIODecodedAsyncSequence.swift
[663/845] Compiling NIOCore NIOLoopBound.swift
[664/845] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[665/845] Compiling NIOCore NIOScheduledCallback.swift
[666/845] Compiling NIOCore NIOSendable.swift
[667/845] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[668/845] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[669/845] Compiling NIOCore RecvByteBufferAllocator.swift
[670/853] Compiling NIOCore MarkedCircularBuffer.swift
[671/853] Compiling NIOCore MulticastChannel.swift
[672/853] Compiling NIOCore NIOAny.swift
[673/853] Compiling NIOCore NIOCloseOnErrorHandler.swift
[674/853] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[675/853] Compiling NIOCore SocketAddresses.swift
[676/853] Compiling NIOCore SocketOptionProvider.swift
[677/853] Compiling NIOCore SystemCallHelpers.swift
[678/853] Compiling NIOCore TimeAmount+Duration.swift
[679/853] Compiling NIOCore TypeAssistedChannelHandler.swift
[680/853] Compiling NIOCore UniversalBootstrapSupport.swift
[681/853] Compiling NIOCore Utilities.swift
[682/864] Emitting module Crypto
[683/864] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[684/864] Compiling NIOCore ByteBuffer-conversions.swift
[685/864] Compiling NIOCore ByteBuffer-core.swift
[686/864] Compiling NIOCore ByteBuffer-hex.swift
[687/864] Compiling NIOCore ByteBuffer-int.swift
[688/864] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[689/864] Compiling NIOCore ByteBuffer-multi-int.swift
[690/864] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[691/864] Compiling NIOCore ByteBuffer-views.swift
[692/864] Compiling NIOCore Channel.swift
[693/864] Compiling NIOCore ChannelHandler.swift
[694/864] Compiling NIOCore ChannelHandlers.swift
[695/864] Compiling NIOCore AddressedEnvelope.swift
[696/864] Compiling NIOCore AsyncAwaitSupport.swift
[697/864] Compiling NIOCore AsyncChannel.swift
[698/864] Compiling NIOCore AsyncChannelHandler.swift
[699/864] Compiling NIOCore AsyncChannelInboundStream.swift
[700/864] Compiling NIOCore AsyncChannelOutboundWriter.swift
[701/864] Compiling NIOCore NIOAsyncSequenceProducer.swift
[702/864] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[703/864] Compiling NIOCore NIOAsyncWriter.swift
[704/864] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[705/864] Compiling NIOCore BSDSocketAPI.swift
[706/864] Compiling NIOCore ByteBuffer-aux.swift
[707/864] Compiling Crypto Signature.swift
[708/864] Compiling Crypto CryptoKitErrors_boring.swift
[709/864] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[710/864] Compiling Crypto RNG_boring.swift
[711/864] Compiling Crypto SafeCompare_boring.swift
[712/864] Compiling Crypto Zeroization_boring.swift
[713/864] Compiling Crypto _CryptoModuleAnchor.swift
[714/864] Compiling Crypto PrettyBytes.swift
[715/864] Compiling Crypto SafeCompare.swift
[716/864] Compiling Crypto SecureBytes.swift
[717/864] Compiling Crypto Zeroization.swift
[718/864] Compiling NIOCore EventLoopFuture+Deprecated.swift
[719/864] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[720/864] Compiling NIOCore EventLoopFuture.swift
[721/864] Compiling NIOCore FileDescriptor.swift
[722/864] Compiling NIOCore FileHandle.swift
[723/864] Compiling NIOCore FileRegion.swift
[724/864] Compiling NIOCore GlobalSingletons.swift
[725/864] Compiling NIOCore IO.swift
[726/864] Compiling NIOCore IOData.swift
[736/864] Compiling NIOCore IPProtocol.swift
[737/864] Compiling NIOCore IntegerBitPacking.swift
[738/864] Compiling NIOCore IntegerTypes.swift
[739/864] Compiling NIOCore Interfaces.swift
[740/864] Compiling NIOCore Linux.swift
[768/864] Compiling Crypto Insecure_HashFunctions.swift
[769/864] Compiling Crypto MLKEM_boring.swift
[770/864] Compiling Crypto MLKEM_wrapper.swift
[771/864] Compiling Crypto XWing_boring.swift
[772/864] Compiling Crypto KEM-Errors.swift
[773/864] Compiling Crypto KEM.swift
[774/864] Compiling Crypto MLKEM.swift
[775/864] Compiling Crypto XWing.swift
[776/864] Compiling Crypto ECDH_boring.swift
[777/864] Compiling Crypto DH.swift
[778/864] Compiling Crypto ECDH.swift
[779/864] Compiling Crypto ANSIx963.swift
[780/864] Compiling NIOCore ChannelInvoker.swift
[781/864] Compiling NIOCore ChannelOption.swift
[782/864] Compiling NIOCore ChannelPipeline.swift
[783/864] Compiling NIOCore CircularBuffer.swift
[784/864] Compiling NIOCore Codec.swift
[785/864] Compiling NIOCore ConvenienceOptionSupport.swift
[786/864] Compiling NIOCore DeadChannel.swift
[787/864] Compiling NIOCore DispatchQueue+WithFuture.swift
[788/864] Compiling NIOCore EventLoop+Deprecated.swift
[789/864] Compiling NIOCore EventLoop+SerialExecutor.swift
[790/864] Compiling NIOCore EventLoop.swift
[791/864] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[809/865] Wrapping AST for Crypto for debugging
[829/865] Emitting module NIOCore
[830/866] Wrapping AST for NIOCore for debugging
[832/871] Compiling EventSource AsyncSequence+Events.swift
[833/871] Compiling EventSource AsyncEventsSequence.swift
[834/871] Compiling EventSource EventSource+AsyncHTTPClient.swift
[835/871] Compiling EventSource EventSource.swift
[836/871] Emitting module EventSource
[837/872] Wrapping AST for EventSource for debugging
[839/921] 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 |
[840/921] 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 |
[841/921] 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 |
[842/921] 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 |
[843/921] 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 |
[844/921] 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 |
[845/921] Compiling HuggingFace HuggingFaceAuthenticationManager.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
6 | import Glibc
7 | #else
8 | #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
| `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
9 | #endif
10 |
[846/927] 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 |
[847/927] 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 |
[848/927] 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 |
[849/927] 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 |
[850/927] 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 |
[851/927] 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 |
[852/927] 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 |
[853/927] 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 |
[854/927] 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 |
[855/927] 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 |
[856/927] 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 |
[857/927] 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 |
[858/927] 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 |
[859/927] 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 |
[860/927] 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 | }
[861/927] 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 | }
[862/927] 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 | }
[863/927] 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 | }
[864/927] 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 | }
[865/927] 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)
[866/927] 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)
[867/927] 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)
[868/927] 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)
[869/927] 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)
[870/927] 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)
[871/927] 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)
[872/927] Compiling HuggingFace URL+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
6 | import Glibc
7 | #else
8 | #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
| `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 | environment env: [String: String] = ProcessInfo.processInfo.environment,
198 | homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 | cachesDirectory: URL = URL.cachesDirectory
| `- error: type 'URL' has no member 'cachesDirectory'
200 | ) -> URL {
201 | #if os(macOS)
[873/927] 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 |
[874/927] 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 |
[875/927] 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 |
[876/927] 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 |
[877/927] 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 |
[878/927] 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 |
[879/927] 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 |
[880/927] 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 |
[881/927] 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 |
[882/927] 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 |
[883/927] 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 |
[884/927] 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 |
[885/927] 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 |
[886/927] 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 |
[887/927] Compiling HuggingFace Git.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
6 | import Glibc
7 | #else
8 | #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
| `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 | environment env: [String: String] = ProcessInfo.processInfo.environment,
198 | homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 | cachesDirectory: URL = URL.cachesDirectory
| `- error: type 'URL' has no member 'cachesDirectory'
200 | ) -> URL {
201 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1294:21: error: cannot find 'fnmatch' in scope
1292 | guard !globs.isEmpty else { return true }
1293 | return globs.contains { glob in
1294 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1295 | }
1296 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 | let lfsEntries =
1329 | workItems
1330 | .filter { $0.transport == .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1331 | .sorted {
1332 | if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 | return $0.weight > $1.weight
1336 | }
1337 | let xetEntries = workItems.filter { $0.transport != .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 | let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 | guard !globs.isEmpty else { return true }
1550 | return globs.contains { glob in
1551 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1552 | }
1553 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 | let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 | let hasMatch = globs.contains { glob in
1723 | fnmatch(glob, relativePath, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1724 | }
1725 | if hasMatch {
[888/927] Compiling HuggingFace HubCache.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
6 | import Glibc
7 | #else
8 | #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
| `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 | environment env: [String: String] = ProcessInfo.processInfo.environment,
198 | homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 | cachesDirectory: URL = URL.cachesDirectory
| `- error: type 'URL' has no member 'cachesDirectory'
200 | ) -> URL {
201 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1294:21: error: cannot find 'fnmatch' in scope
1292 | guard !globs.isEmpty else { return true }
1293 | return globs.contains { glob in
1294 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1295 | }
1296 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 | let lfsEntries =
1329 | workItems
1330 | .filter { $0.transport == .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1331 | .sorted {
1332 | if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 | return $0.weight > $1.weight
1336 | }
1337 | let xetEntries = workItems.filter { $0.transport != .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 | let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 | guard !globs.isEmpty else { return true }
1550 | return globs.contains { glob in
1551 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1552 | }
1553 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 | let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 | let hasMatch = globs.contains { glob in
1723 | fnmatch(glob, relativePath, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1724 | }
1725 | if hasMatch {
[889/927] Compiling HuggingFace HubClient+Collections.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
6 | import Glibc
7 | #else
8 | #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
| `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 | environment env: [String: String] = ProcessInfo.processInfo.environment,
198 | homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 | cachesDirectory: URL = URL.cachesDirectory
| `- error: type 'URL' has no member 'cachesDirectory'
200 | ) -> URL {
201 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1294:21: error: cannot find 'fnmatch' in scope
1292 | guard !globs.isEmpty else { return true }
1293 | return globs.contains { glob in
1294 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1295 | }
1296 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 | let lfsEntries =
1329 | workItems
1330 | .filter { $0.transport == .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1331 | .sorted {
1332 | if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 | return $0.weight > $1.weight
1336 | }
1337 | let xetEntries = workItems.filter { $0.transport != .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 | let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 | guard !globs.isEmpty else { return true }
1550 | return globs.contains { glob in
1551 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1552 | }
1553 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 | let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 | let hasMatch = globs.contains { glob in
1723 | fnmatch(glob, relativePath, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1724 | }
1725 | if hasMatch {
[890/927] Compiling HuggingFace HubClient+Datasets.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
6 | import Glibc
7 | #else
8 | #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
| `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 | environment env: [String: String] = ProcessInfo.processInfo.environment,
198 | homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 | cachesDirectory: URL = URL.cachesDirectory
| `- error: type 'URL' has no member 'cachesDirectory'
200 | ) -> URL {
201 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1294:21: error: cannot find 'fnmatch' in scope
1292 | guard !globs.isEmpty else { return true }
1293 | return globs.contains { glob in
1294 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1295 | }
1296 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 | let lfsEntries =
1329 | workItems
1330 | .filter { $0.transport == .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1331 | .sorted {
1332 | if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 | return $0.weight > $1.weight
1336 | }
1337 | let xetEntries = workItems.filter { $0.transport != .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 | let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 | guard !globs.isEmpty else { return true }
1550 | return globs.contains { glob in
1551 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1552 | }
1553 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 | let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 | let hasMatch = globs.contains { glob in
1723 | fnmatch(glob, relativePath, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1724 | }
1725 | if hasMatch {
[891/927] Compiling HuggingFace HubClient+Discussions.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
6 | import Glibc
7 | #else
8 | #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
| `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 | environment env: [String: String] = ProcessInfo.processInfo.environment,
198 | homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 | cachesDirectory: URL = URL.cachesDirectory
| `- error: type 'URL' has no member 'cachesDirectory'
200 | ) -> URL {
201 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1294:21: error: cannot find 'fnmatch' in scope
1292 | guard !globs.isEmpty else { return true }
1293 | return globs.contains { glob in
1294 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1295 | }
1296 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 | let lfsEntries =
1329 | workItems
1330 | .filter { $0.transport == .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1331 | .sorted {
1332 | if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 | return $0.weight > $1.weight
1336 | }
1337 | let xetEntries = workItems.filter { $0.transport != .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 | let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 | guard !globs.isEmpty else { return true }
1550 | return globs.contains { glob in
1551 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1552 | }
1553 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 | let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 | let hasMatch = globs.contains { glob in
1723 | fnmatch(glob, relativePath, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1724 | }
1725 | if hasMatch {
[892/927] Compiling HuggingFace HubClient+Files.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
6 | import Glibc
7 | #else
8 | #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
| `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 | environment env: [String: String] = ProcessInfo.processInfo.environment,
198 | homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 | cachesDirectory: URL = URL.cachesDirectory
| `- error: type 'URL' has no member 'cachesDirectory'
200 | ) -> URL {
201 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1294:21: error: cannot find 'fnmatch' in scope
1292 | guard !globs.isEmpty else { return true }
1293 | return globs.contains { glob in
1294 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1295 | }
1296 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 | let lfsEntries =
1329 | workItems
1330 | .filter { $0.transport == .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1331 | .sorted {
1332 | if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 | return $0.weight > $1.weight
1336 | }
1337 | let xetEntries = workItems.filter { $0.transport != .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 | let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 | guard !globs.isEmpty else { return true }
1550 | return globs.contains { glob in
1551 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1552 | }
1553 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 | let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 | let hasMatch = globs.contains { glob in
1723 | fnmatch(glob, relativePath, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1724 | }
1725 | if hasMatch {
[893/927] Compiling HuggingFace HubClient+Git.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
6 | import Glibc
7 | #else
8 | #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
| `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 | environment env: [String: String] = ProcessInfo.processInfo.environment,
198 | homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 | cachesDirectory: URL = URL.cachesDirectory
| `- error: type 'URL' has no member 'cachesDirectory'
200 | ) -> URL {
201 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1294:21: error: cannot find 'fnmatch' in scope
1292 | guard !globs.isEmpty else { return true }
1293 | return globs.contains { glob in
1294 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1295 | }
1296 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 | let lfsEntries =
1329 | workItems
1330 | .filter { $0.transport == .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1331 | .sorted {
1332 | if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 | return $0.weight > $1.weight
1336 | }
1337 | let xetEntries = workItems.filter { $0.transport != .lfs }
| `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 | let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 | guard !globs.isEmpty else { return true }
1550 | return globs.contains { glob in
1551 | fnmatch(glob, entry.path, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1552 | }
1553 | }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 | let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 | let hasMatch = globs.contains { glob in
1723 | fnmatch(glob, relativePath, 0) == 0
| `- error: cannot find 'fnmatch' in scope
1724 | }
1725 | if hasMatch {
BUILD FAILURE 6.2 android