The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-hf-api, reference main (f47460), with Swift 6.2 for macOS (SPM) on 1 Oct 2026 00:10:25 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DePasqualeOrg/swift-hf-api.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DePasqualeOrg/swift-hf-api
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f474606 Adopt SwiftFormat pre-commit and Periphery
Cloned https://github.com/DePasqualeOrg/swift-hf-api.git
Revision (git rev-parse @):
f474606da24784ef23893d614866d7373cf9da68
SUCCESS checkout https://github.com/DePasqualeOrg/swift-hf-api.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/DePasqualeOrg/swift-hf-api.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Write sources
[6/10] Copying PrivacyInfo.xcprivacy
[6/10] Copying libhf_api_rust.a
[6/10] Copying PrivacyInfo.xcprivacy
[9/10] Write swift-version--3CB7CFEC50E0D141.txt
[11/103] Compiling HFAPIShared TokenProvider.swift
[12/103] Compiling Crypto ANSIx963.swift
[13/103] Compiling Crypto HKDF.swift
[14/103] Compiling Crypto AESWrap.swift
[15/103] Compiling Crypto AESWrap_boring.swift
[16/103] Compiling Crypto Ed25519_boring.swift
[17/103] Compiling Crypto NISTCurvesKeys_boring.swift
[18/103] Compiling Crypto X25519Keys_boring.swift
[19/103] Compiling Crypto Curve25519.swift
[20/103] Compiling Crypto Ed25519Keys.swift
[21/103] Emitting module Crypto
[22/112] Compiling Crypto EdDSA_boring.swift
[23/112] Compiling Crypto MLDSA_boring.swift
[24/112] Compiling Crypto MLDSA_wrapper.swift
[25/112] Compiling Crypto ECDSA.swift
[26/112] Compiling Crypto Ed25519.swift
[27/112] Compiling Crypto MLDSA.swift
[28/112] Compiling Crypto Signature.swift
[29/112] Compiling Crypto CryptoKitErrors_boring.swift
[30/112] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[31/112] Compiling Crypto MLKEM_wrapper.swift
[32/112] Compiling Crypto XWing_boring.swift
[33/112] Compiling Crypto KEM-Errors.swift
[34/112] Compiling Crypto KEM.swift
[35/112] Compiling Crypto MLKEM.swift
[36/112] Compiling Crypto XWing.swift
[37/112] Compiling Crypto ECDH_boring.swift
[38/112] Compiling Crypto DH.swift
[39/112] Compiling Crypto ECDH.swift
[40/112] Compiling Crypto ASN1Identifier.swift
[41/112] Compiling Crypto ASN1Integer.swift
[42/112] Compiling Crypto ASN1Null.swift
[43/112] Compiling Crypto ASN1OctetString.swift
[44/112] Compiling Crypto ASN1Strings.swift
[45/112] Compiling Crypto ArraySliceBigint.swift
[46/112] Compiling Crypto GeneralizedTime.swift
[47/112] Compiling Crypto ObjectIdentifier.swift
[48/112] Compiling Crypto ECDSASignature.swift
[49/112] Compiling Crypto PEMDocument.swift
[50/112] Compiling Crypto PKCS8PrivateKey.swift
[51/112] Compiling Crypto SEC1PrivateKey.swift
[52/112] Compiling Crypto SubjectPublicKeyInfo.swift
[53/112] Compiling Crypto CryptoError_boring.swift
[54/112] Compiling Crypto CryptoKitErrors.swift
[55/112] Compiling Crypto Digest_boring.swift
[56/112] Compiling Crypto Digest.swift
[57/112] Compiling Crypto Digests.swift
[58/112] Compiling Crypto HashFunctions.swift
[59/112] Compiling Crypto HashFunctions_SHA2.swift
[60/112] Compiling Crypto AES-GCM.swift
[61/112] Compiling Crypto AES-GCM_boring.swift
[62/112] Compiling Crypto ChaChaPoly_boring.swift
[63/112] Compiling Crypto ChaChaPoly.swift
[64/112] Compiling Crypto Cipher.swift
[65/112] Compiling Crypto Nonces.swift
[66/112] Compiling Crypto ASN1.swift
[67/112] Compiling Crypto ASN1Any.swift
[68/112] Compiling Crypto ASN1BitString.swift
[69/112] Compiling Crypto ASN1Boolean.swift
[70/112] Compiling Crypto HashFunctions_SHA3.swift
[71/112] Compiling Crypto Digest_xkcp.swift
[72/112] Compiling Crypto HPKE-AEAD.swift
[73/112] Compiling Crypto HPKE-Ciphersuite.swift
[74/112] Compiling Crypto HPKE-KDF.swift
[75/112] Compiling Crypto HPKE-KexKeyDerivation.swift
[76/112] Compiling Crypto HPKE-LabeledExtract.swift
[77/112] Compiling Crypto HPKE-Utils.swift
[78/112] Compiling Crypto DHKEM.swift
[79/112] Compiling Crypto HPKE-KEM-Curve25519.swift
[80/112] Compiling HFAPIShared HFLog.swift
[81/112] Emitting module HFAPIShared
[82/112] Compiling Crypto NISTCurvesKeys.swift
[83/112] Compiling Crypto X25519Keys.swift
[84/112] Compiling Crypto SymmetricKeys.swift
[85/112] Compiling Crypto HMAC.swift
[86/112] Compiling Crypto MACFunctions.swift
[87/112] Compiling Crypto MessageAuthenticationCode.swift
[88/112] Compiling Crypto AES.swift
[89/112] Compiling Crypto ECDSASignature_boring.swift
[90/112] Compiling Crypto ECDSA_boring.swift
[91/112] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[92/112] Compiling Crypto HPKE-KEM.swift
[93/112] Compiling Crypto HPKE-Errors.swift
[94/112] Compiling Crypto HPKE.swift
[95/112] Compiling Crypto HPKE-Context.swift
[96/112] Compiling Crypto HPKE-KeySchedule.swift
[97/112] Compiling Crypto HPKE-Modes.swift
[98/112] Compiling Crypto Insecure.swift
[99/112] Compiling Crypto Insecure_HashFunctions.swift
[100/112] Compiling Crypto MLKEM_boring.swift
[101/112] Compiling Crypto RNG_boring.swift
[102/112] Compiling Crypto SafeCompare_boring.swift
[103/112] Compiling Crypto Zeroization_boring.swift
[104/112] Compiling Crypto _CryptoModuleAnchor.swift
[105/112] Compiling Crypto PrettyBytes.swift
[106/112] Compiling Crypto SafeCompare.swift
[107/112] Compiling Crypto SecureBytes.swift
[108/112] Compiling Crypto Zeroization.swift
[109/112] Compiling Crypto resource_bundle_accessor.swift
[110/117] Compiling HFAPIFFI resource_bundle_accessor.swift
[111/117] Compiling HFAPIFFI HFAPIFFI.swift
/Users/admin/builder/spi-builder-workspace/Sources/HFAPIFFI/Generated/HFAPIFFI.swift:12:22: warning: using '@_implementationOnly' without enabling library evolution for 'HFAPIFFI' may lead to instability during execution [#ImplementationOnlyDeprecated]
  10 | // this module. This is a bit of light hackery to work with both.
  11 | #if canImport(HFAPIRust)
  12 | @_implementationOnly import HFAPIRust
     |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'HFAPIFFI' may lead to instability during execution [#ImplementationOnlyDeprecated]
  13 | #endif
  14 |
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[112/117] Emitting module HFAPIFFI
/Users/admin/builder/spi-builder-workspace/Sources/HFAPIFFI/Generated/HFAPIFFI.swift:12:22: warning: using '@_implementationOnly' without enabling library evolution for 'HFAPIFFI' may lead to instability during execution [#ImplementationOnlyDeprecated]
  10 | // this module. This is a bit of light hackery to work with both.
  11 | #if canImport(HFAPIRust)
  12 | @_implementationOnly import HFAPIRust
     |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'HFAPIFFI' may lead to instability during execution [#ImplementationOnlyDeprecated]
  13 | #endif
  14 |
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[113/153] Compiling HFAPI HFClient+Listing.swift
[114/153] Compiling HFAPI HFClient+Users.swift
[115/153] Compiling HFAPI HFClient.swift
[116/153] Compiling HFAPI TokenProviderAdapter.swift
[117/156] Compiling HFAPI GlobMatcher.swift
[118/156] Compiling HFAPI Auth.swift
[119/156] Compiling HFAPI HFClient+Cache.swift
[120/156] Compiling HFAPI HFClient+Lifecycle.swift
[121/156] Compiling HFAPI OperationHandle.swift
[122/156] Compiling HFAPI UploadEvent.swift
[123/156] Compiling HFAPI CommitInfo.swift
[124/156] Compiling HFAPI CommitOperation.swift
[125/156] Emitting module HFAPI
[126/156] Compiling HFAPI ModelInfo.swift
[127/156] Compiling HFAPI ModelRepository.swift
[128/156] Compiling HFAPI NetworkAccess.swift
[129/156] Compiling HFAPI RepoLifecycle.swift
[130/156] Compiling HFAPI RepositoryProtocol+Defaults.swift
[131/156] Compiling HFAPI RepositoryProtocol+Internal.swift
[132/156] Compiling HFAPI RepositoryProtocol+PolymorphicDefaults.swift
[133/156] Compiling HFAPI CommitsAndDiffs.swift
[134/156] Compiling HFAPI DatasetInfo.swift
[135/156] Compiling HFAPI DatasetRepository.swift
[136/156] Compiling HFAPI HubTimestamp.swift
[137/156] Compiling HFAPI CacheDeletion.swift
[138/156] Compiling HFAPI CacheInfo+Conveniences.swift
[139/156] Compiling HFAPI CacheInfo.swift
[140/156] Compiling HFAPI CachePathResolver.swift
[141/156] Compiling HFAPI RepoTreeEntry.swift
[142/156] Compiling HFAPI RepositoryDownload.swift
[143/156] Compiling HFAPI RepositoryID.swift
[144/156] Compiling HFAPI RepositoryProtocol+Conveniences.swift
[145/156] Compiling HFAPI HFError.swift
[146/156] Compiling HFAPI NetworkMonitor.swift
[147/156] Compiling HFAPI DownloadEvent.swift
[148/156] Compiling HFAPI DownloadProgressState.swift
[149/156] Compiling HFAPI RepositoryProtocol.swift
[150/156] Compiling HFAPI UploadStream.swift
[151/156] Compiling HFAPI User.swift
[152/156] Compiling HFAPIOAuth TokenStorage.swift
[153/156] Compiling HFAPIOAuth TokenProvider+OAuth.swift
[154/156] Emitting module HFAPIOAuth
[155/156] Compiling HFAPIOAuth OAuthManager.swift
[156/156] Compiling HFAPIOAuth OAuthClient.swift
[157/158] Compiling HFAPIHubAuth OAuthClientFactory.swift
[158/158] Emitting module HFAPIHubAuth
Build complete! (25.24s)
Fetching https://github.com/apple/swift-crypto
[1/18572] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto from cache (3.01s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 4.5.2 (6.39s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (1.03s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.75s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 4.5.2
Downloading binary artifact https://github.com/DePasqualeOrg/swift-hf-api/releases/download/hfapi-rust-0.4.6/HFAPIRust-0.4.6.artifactbundle.zip
[16375/37437647] Downloading https://github.com/DePasqualeOrg/swift-hf-api/releases/download/hfapi-rust-0.4.6/HFAPIRust-0.4.6.artifactbundle.zip
Downloaded https://github.com/DePasqualeOrg/swift-hf-api/releases/download/hfapi-rust-0.4.6/HFAPIRust-0.4.6.artifactbundle.zip (2.23s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto"
    }
  ],
  "manifest_display_name" : "swift-hf-api",
  "name" : "swift-hf-api",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "HFAPI",
      "targets" : [
        "HFAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HFAPIOAuth",
      "targets" : [
        "HFAPIOAuth"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HFAPIHubAuth",
      "targets" : [
        "HFAPIHubAuth"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HFAPIShared",
      "targets" : [
        "HFAPIShared"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HFAPITests",
      "module_type" : "SwiftTarget",
      "name" : "HFAPITests",
      "path" : "Tests/HFAPITests",
      "sources" : [
        "BranchTagTests.swift",
        "CacheDeletionTests.swift",
        "CacheInfoConveniencesTests.swift",
        "CacheScanTests.swift",
        "CachedSnapshotTests.swift",
        "ClientTests.swift",
        "ContentLengthSignalTests.swift",
        "ConvenienceTests.swift",
        "CreateCommitTests.swift",
        "DeleteFileTests.swift",
        "DownloadFlavorTests.swift",
        "DownloadProgressStateTests.swift",
        "DownloadTests.swift",
        "ErrorMappingTests.swift",
        "ErrorTests.swift",
        "GlobMatcherTests.swift",
        "HubMutationGate.swift",
        "LifecycleTests.swift",
        "ListingTests.swift",
        "MutationTestContext.swift",
        "RepositoryCommitsTests.swift",
        "RepositoryIDTests.swift",
        "RepositoryTests.swift",
        "RepositoryTreeTests.swift",
        "TokenProviderTests.swift",
        "UploadFolderTests.swift",
        "UploadTests.swift",
        "XetResumeIntegrationTests.swift"
      ],
      "target_dependencies" : [
        "HFAPI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HFAPIShared",
      "module_type" : "SwiftTarget",
      "name" : "HFAPIShared",
      "path" : "Sources/HFAPIShared",
      "product_memberships" : [
        "HFAPI",
        "HFAPIOAuth",
        "HFAPIHubAuth",
        "HFAPIShared"
      ],
      "sources" : [
        "HFLog.swift",
        "TokenProvider.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HFAPIRust",
      "module_type" : "BinaryTarget",
      "name" : "HFAPIRust",
      "path" : "remote/archive/HFAPIRust-0.4.6.artifactbundle.zip",
      "product_memberships" : [
        "HFAPI",
        "HFAPIHubAuth"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "HFAPIOAuthTests",
      "module_type" : "SwiftTarget",
      "name" : "HFAPIOAuthTests",
      "path" : "Tests/HFAPIOAuthTests",
      "sources" : [
        "Helpers/MockURLProtocol.swift",
        "HuggingFaceAuthenticationManagerTests.swift",
        "OAuthClientTests.swift",
        "TokenStorageTests.swift"
      ],
      "target_dependencies" : [
        "HFAPIOAuth",
        "HFAPIShared"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HFAPIOAuth",
      "module_type" : "SwiftTarget",
      "name" : "HFAPIOAuth",
      "path" : "Sources/HFAPIOAuth",
      "product_dependencies" : [
        "Crypto"
      ],
      "product_memberships" : [
        "HFAPIOAuth",
        "HFAPIHubAuth"
      ],
      "sources" : [
        "OAuthClient.swift",
        "OAuthManager.swift",
        "TokenProvider+OAuth.swift",
        "TokenStorage.swift"
      ],
      "target_dependencies" : [
        "HFAPIShared"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HFAPIHubAuthTests",
      "module_type" : "SwiftTarget",
      "name" : "HFAPIHubAuthTests",
      "path" : "Tests/HFAPIHubAuthTests",
      "sources" : [
        "OAuthClientFactoryTests.swift"
      ],
      "target_dependencies" : [
        "HFAPIHubAuth"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HFAPIHubAuth",
      "module_type" : "SwiftTarget",
      "name" : "HFAPIHubAuth",
      "path" : "Sources/HFAPIHubAuth",
      "product_memberships" : [
        "HFAPIHubAuth"
      ],
      "sources" : [
        "OAuthClientFactory.swift"
      ],
      "target_dependencies" : [
        "HFAPI",
        "HFAPIOAuth"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HFAPIFFI",
      "module_type" : "SwiftTarget",
      "name" : "HFAPIFFI",
      "path" : "Sources/HFAPIFFI",
      "product_memberships" : [
        "HFAPI",
        "HFAPIHubAuth"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/HFAPIFFI/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Generated/HFAPIFFI.swift"
      ],
      "target_dependencies" : [
        "HFAPIRust"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HFAPI",
      "module_type" : "SwiftTarget",
      "name" : "HFAPI",
      "path" : "Sources/HFAPI",
      "product_memberships" : [
        "HFAPI",
        "HFAPIHubAuth"
      ],
      "sources" : [
        "Cache/CacheDeletion.swift",
        "Cache/CacheInfo+Conveniences.swift",
        "Cache/CacheInfo.swift",
        "Cache/CachePathResolver.swift",
        "Cache/GlobMatcher.swift",
        "Client/Auth.swift",
        "Client/HFClient+Cache.swift",
        "Client/HFClient+Lifecycle.swift",
        "Client/HFClient+Listing.swift",
        "Client/HFClient+Users.swift",
        "Client/HFClient.swift",
        "Client/TokenProviderAdapter.swift",
        "Errors/HFError.swift",
        "Network/NetworkMonitor.swift",
        "Progress/DownloadEvent.swift",
        "Progress/DownloadProgressState.swift",
        "Progress/OperationHandle.swift",
        "Progress/UploadEvent.swift",
        "Repository/CommitInfo.swift",
        "Repository/CommitOperation.swift",
        "Repository/CommitsAndDiffs.swift",
        "Repository/DatasetInfo.swift",
        "Repository/DatasetRepository.swift",
        "Repository/HubTimestamp.swift",
        "Repository/ModelInfo.swift",
        "Repository/ModelRepository.swift",
        "Repository/NetworkAccess.swift",
        "Repository/RepoLifecycle.swift",
        "Repository/RepoTreeEntry.swift",
        "Repository/RepositoryDownload.swift",
        "Repository/RepositoryID.swift",
        "Repository/RepositoryProtocol+Conveniences.swift",
        "Repository/RepositoryProtocol+Defaults.swift",
        "Repository/RepositoryProtocol+Internal.swift",
        "Repository/RepositoryProtocol+PolymorphicDefaults.swift",
        "Repository/RepositoryProtocol.swift",
        "Repository/UploadStream.swift",
        "Users/User.swift"
      ],
      "target_dependencies" : [
        "HFAPIFFI",
        "HFAPIShared"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
Done.