The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-embeddings, reference main (96da11), with Swift 6.3 for macOS (SPM) on 10 Jul 2026 04:44:50 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Dean151/swift-embeddings.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Dean151/swift-embeddings
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 96da116 feat: add on-device NaturalLanguage embedding backend
Cloned https://github.com/Dean151/swift-embeddings.git
Revision (git rev-parse @):
96da116dbd86223034a80d0e1d4bf3ca8c049fe1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Dean151/swift-embeddings.git at main
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/1219] Fetching swift-http-types
[87/3544] Fetching swift-http-types, swift-docc-plugin
[1430/7294] Fetching swift-http-types, swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.16s)
[1475/3544] Fetching swift-http-types, swift-docc-plugin
Fetched https://github.com/apple/swift-http-types.git from cache (1.23s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.23s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.5.0 (3.94s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.6.0 (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.66s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.6.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-embeddings",
      "name": "swift-embeddings",
      "url": "https://github.com/Dean151/swift-embeddings.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-embeddings",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-http-types",
          "name": "swift-http-types",
          "url": "https://github.com/apple/swift-http-types.git",
          "version": "1.6.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-http-types",
          "traits": [
            "FoundationURL"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Dean151/swift-embeddings.git
[1/69] Fetching swift-embeddings
Fetched https://github.com/Dean151/swift-embeddings.git from cache (0.72s)
Fetching https://github.com/apple/swift-http-types.git from cache
Fetched https://github.com/apple/swift-http-types.git from cache (0.44s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.6.0 (0.49s)
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.6.0
Creating working copy for https://github.com/Dean151/swift-embeddings.git
Working copy of https://github.com/Dean151/swift-embeddings.git resolved at main (96da116)
warning: '.resolve-product-dependencies': dependency 'swift-embeddings' is not used by any target
Found 1 product dependencies
  - swift-http-types
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Dean151/swift-embeddings.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/6] Write sources
[5/6] Write swift-version--6988338F2F200930.txt
[7/16] Compiling HTTPTypes ISOLatin1String.swift
[8/16] Compiling HTTPTypes NIOLock.swift
[9/16] Compiling HTTPTypes HTTPResponse.swift
[10/16] Compiling HTTPTypes HTTPRequest.swift
[11/16] Compiling HTTPTypes HTTPFields.swift
[12/16] Compiling HTTPTypes HTTPParsedFields.swift
[13/16] Emitting module HTTPTypes
[14/16] Compiling HTTPTypes HTTPField.swift
[15/16] Compiling HTTPTypes HTTPFieldName.swift
[16/16] Compiling HTTPTypes HTTPRequest+URL.swift
[17/22] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[18/22] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[19/22] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[20/22] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[21/22] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[22/22] Emitting module HTTPTypesFoundation
[23/39] Compiling Embeddings ProviderTransport.swift
[24/39] Compiling Embeddings Reranking.swift
[25/39] Compiling Embeddings HTTPClientTransport.swift
[26/39] Compiling Embeddings URLSessionTransport.swift
[27/40] Compiling Embeddings Usage.swift
[28/40] Compiling Embeddings Voyage.swift
[29/40] Compiling Embeddings RerankModel.swift
[30/40] Compiling Embeddings Cohere.swift
[31/40] Compiling Embeddings Jina.swift
[32/40] Compiling Embeddings ModelIdentifier.swift
[33/40] Compiling Embeddings ProviderSpecificOptions.swift
[34/40] Compiling Embeddings EmbeddingsError.swift
[35/40] Compiling Embeddings JSONValue.swift
[36/40] Emitting module Embeddings
[37/40] Compiling Embeddings EmbeddingModel.swift
[38/40] Compiling Embeddings Embeddings.swift
[39/40] Compiling Embeddings NaturalLanguage.swift
[40/40] Compiling Embeddings OpenAI.swift
Build complete! (15.02s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "swift-embeddings",
  "name" : "swift-embeddings",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Embeddings",
      "targets" : [
        "Embeddings"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "EmbeddingsTests",
      "module_type" : "SwiftTarget",
      "name" : "EmbeddingsTests",
      "path" : "Tests/EmbeddingsTests",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "sources" : [
        "CohereTests.swift",
        "CoreTests.swift",
        "JinaTests.swift",
        "NaturalLanguageTests.swift",
        "OpenAITests.swift",
        "Support/MockHTTPTransport.swift",
        "Support/MockModels.swift",
        "VoyageTests.swift"
      ],
      "target_dependencies" : [
        "Embeddings"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Embeddings",
      "module_type" : "SwiftTarget",
      "name" : "Embeddings",
      "path" : "Sources/Embeddings",
      "product_dependencies" : [
        "HTTPTypes",
        "HTTPTypesFoundation"
      ],
      "product_memberships" : [
        "Embeddings"
      ],
      "sources" : [
        "EmbeddingModel.swift",
        "Embeddings.swift",
        "EmbeddingsError.swift",
        "JSONValue.swift",
        "ModelIdentifier.swift",
        "ProviderSpecificOptions.swift",
        "Providers/Cohere.swift",
        "Providers/Jina.swift",
        "Providers/NaturalLanguage.swift",
        "Providers/OpenAI.swift",
        "Providers/Voyage.swift",
        "RerankModel.swift",
        "Reranking.swift",
        "Transport/HTTPClientTransport.swift",
        "Transport/ProviderTransport.swift",
        "Transport/URLSessionTransport.swift",
        "Usage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/dean151/swift-embeddings/main
Repository:               Dean151/swift-embeddings
Swift version used:       6.3
        .package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.4.3"),
Target:                   Embeddings
Extracting symbol information for 'Embeddings'...
Finished extracting symbol information for 'Embeddings'. (26.91s)
Building documentation for 'Embeddings'...
warning: 'NLLanguage' doesn't exist at '/Embeddings/NaturalLanguageEmbeddingOptions/language'
  --> ../Providers/NaturalLanguage.swift:68:49-68:59
66 |     ///
67 |     /// When `nil`, the language is detected per input with
68 +     /// `NLLanguageRecognizer`, defaulting to ``NLLanguage/english`` when
69 |     /// detection is inconclusive. Set this explicitly to skip detection and
70 |     /// avoid mismatches on short strings.
Finished building documentation for 'Embeddings' (0.58s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/dean151/swift-embeddings/main
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version--6988338F2F200930.txt
[6/54] Emitting module SymbolKit
[7/58] Compiling Snippets SnippetParser.swift
[8/58] Compiling Snippets Snippet.swift
[9/58] Compiling Snippets SnippetLanguage.swift
[10/58] Emitting module Snippets
[11/58] Compiling SymbolKit GenericConstraint.swift
[12/58] Compiling SymbolKit GenericParameter.swift
[13/58] Compiling SymbolKit Generics.swift
[14/58] Compiling SymbolKit Namespace.swift
[15/58] Compiling SymbolKit DeclarationFragments.swift
[16/58] Compiling SymbolKit Fragment.swift
[17/58] Compiling SymbolKit FragmentKind.swift
[18/58] Compiling SymbolKit FunctionParameter.swift
[19/58] Compiling SymbolKit FunctionSignature.swift
[20/58] Compiling SymbolKit Names.swift
[21/58] Compiling SymbolKit SPI.swift
[22/58] Compiling SymbolKit Snippet.swift
[23/58] Compiling SymbolKit Extension.swift
[24/58] Compiling SymbolKit SourceRange.swift
[25/58] Compiling SymbolKit Metadata.swift
[26/58] Compiling SymbolKit Module.swift
[27/58] Compiling SymbolKit OperatingSystem.swift
[28/58] Compiling SymbolKit Platform.swift
[29/58] Compiling SymbolKit SemanticVersion.swift
[30/58] Compiling SymbolKit AccessControl.swift
[31/58] Compiling SymbolKit Availability.swift
[32/58] Compiling SymbolKit AvailabilityItem.swift
[33/58] Compiling SymbolKit Domain.swift
[34/58] Compiling SymbolKit Relationship.swift
[35/58] Compiling SymbolKit RelationshipKind.swift
[36/58] Compiling SymbolKit SourceOrigin.swift
[37/58] Compiling SymbolKit GenericConstraints.swift
[38/58] Compiling SymbolKit Swift.swift
[39/58] Compiling SymbolKit Mixin+Equals.swift
[40/58] Compiling SymbolKit Mixin+Hash.swift
[41/58] Compiling SymbolKit Mixin.swift
[42/58] Compiling SymbolKit LineList.swift
[43/58] Compiling SymbolKit Position.swift
[44/58] Compiling SymbolKit Symbol.swift
[45/58] Compiling SymbolKit SymbolKind.swift
[46/58] Compiling SymbolKit SymbolGraph.swift
[47/58] Compiling SymbolKit GraphCollector.swift
[48/58] Compiling SymbolKit Identifier.swift
[49/58] Compiling SymbolKit KindIdentifier.swift
[50/58] Compiling SymbolKit Location.swift
[51/58] Compiling SymbolKit Mutability.swift
[52/58] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[53/58] Compiling SymbolKit UnifiedSymbol.swift
[54/58] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[55/58] Compiling SymbolKit UnifiedSymbolGraph.swift
[56/62] Compiling snippet_extract URL+Status.swift
[57/62] Emitting module snippet_extract
[58/62] Compiling snippet_extract SymbolGraph+Snippet.swift
[59/62] Compiling snippet_extract SnippetBuildCommand.swift
[59/62] Write Objects.LinkFileList
[60/62] Linking snippet-extract-tool
[61/62] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.40s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
Build of target: 'Embeddings' complete! (0.23s)
     692
5	/Users/admin/builder/spi-builder-workspace/.docs/dean151/swift-embeddings/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/dean151/swift-embeddings/main
WARNING: environment variable DOCS_MAX_SIZE_MB is not set
WARNING: environment variable DOCS_MAX_SIZE_MB_DEFAULT is not set
File count: 692
Doc size:   5.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -dean151-swift-embeddings-main-67e8a44b.zip to presigned URL
Starting upload of 1137206 bytes...
Upload completed successfully
Done.