The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-transformers, reference main (89fb5d), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 16:14:00 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ashvardanian/swift-transformers.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ashvardanian/swift-transformers
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 89fb5d9 Fix: UTF8 support in Unigram tokenizer
Cloned https://github.com/ashvardanian/swift-transformers.git
Revision (git rev-parse @):
89fb5d97e1df347f9f588f62fc538dcad6fdb16c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ashvardanian/swift-transformers.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ashvardanian/swift-transformers.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 357]
[Planning deferred tasks]
[76 / 173]
[102 / 173]
[105 / 176] ArgumentParserToolInfo
[107 / 180]
[109 / 180] ArgumentParserToolInfo
[116 / 181] Hub
[124 / 218]
[133 / 277] ArgumentParserToolInfo
[142 / 277]
[147 / 277]
[149 / 277]
[156 / 277]
[160 / 277]
[165 / 277]
[171 / 277]
[174 / 277]
[176 / 277]
[180 / 277]
[182 / 277]
[189 / 277]
[195 / 277] ArgumentParser
[198 / 277] Hub
[204 / 277] Tokenizers
[206 / 277]
[208 / 277] ArgumentParser
[210 / 277] ArgumentParser
[216 / 277] ArgumentParser-product
[218 / 277] TensorUtils
[221 / 277] TensorUtils
[231 / 277] TensorUtils
[238 / 279]
[238 / 279] TensorUtils
[240 / 279] ArgumentParser
[247 / 292] Tokenizers
[251 / 292] hub-cli-product
[254 / 292] TensorUtils
[265 / 293] Tokenizers
[269 / 293] Generation
[272 / 296] Generation
[281 / 297] Models
[284 / 300] Models
[293 / 301] Models
[296 / 301] transformers-product
[298 / 303] transformers-product
[299 / 303] transformers-product
[301 / 303] transformers-product
Build complete! (10.42 sec)
Fetching https://github.com/apple/swift-argument-parser.git
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (3.34s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (3.98s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.0
/Users/admin/builder/spi-builder-workspace/Sources/Models/LanguageModel.swift:215:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
213 | }
214 |
215 | extension String: Error {}
    | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
216 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/LanguageModel.swift:215:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
213 | }
214 |
215 | extension String: Error {}
    | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
216 |
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "exact" : [
          "1.3.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "swift-transformers",
  "name" : "swift-transformers",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Transformers",
      "targets" : [
        "Tokenizers",
        "Generation",
        "Models"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "transformers",
      "targets" : [
        "TransformersCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "hub-cli",
      "targets" : [
        "HubCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TransformersCLI",
      "module_type" : "SwiftTarget",
      "name" : "TransformersCLI",
      "path" : "Sources/TransformersCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "transformers"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Models",
        "Generation",
        "Tokenizers"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "TokenizersTests",
      "module_type" : "SwiftTarget",
      "name" : "TokenizersTests",
      "path" : "Tests/TokenizersTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TokenizersTests/Resources/basic_tokenized_questions.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TokenizersTests/Resources/dev-v1.1.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TokenizersTests/Resources/falcon_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TokenizersTests/Resources/gpt2_encoded_tokens.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TokenizersTests/Resources/llama_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TokenizersTests/Resources/question_tokens.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TokenizersTests/Resources/t5_base_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TokenizersTests/Resources/tokenized_questions.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TokenizersTests/Resources/tokenizer_tests.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TokenizersTests/Resources/whisper_large_v2_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TokenizersTests/Resources/whisper_tiny_en_encoded.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TokenizersTests/Vocabs/bert-vocab.txt",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "BertTokenizerTests.swift",
        "DecoderTests.swift",
        "FactoryTests.swift",
        "SplitTests.swift",
        "SquadDataset.swift",
        "TokenizerTests.swift",
        "TrieTests.swift"
      ],
      "target_dependencies" : [
        "Tokenizers",
        "Models",
        "Hub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Tokenizers",
      "module_type" : "SwiftTarget",
      "name" : "Tokenizers",
      "path" : "Sources/Tokenizers",
      "product_memberships" : [
        "Transformers",
        "transformers"
      ],
      "sources" : [
        "BPETokenizer.swift",
        "BertTokenizer.swift",
        "ByteEncoder.swift",
        "Decoder.swift",
        "Normalizer.swift",
        "PostProcessor.swift",
        "PreTokenizer.swift",
        "TokenLattice.swift",
        "Tokenizer.swift",
        "Trie.swift",
        "UnigramTokenizer.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "Hub"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TensorUtilsTests",
      "module_type" : "SwiftTarget",
      "name" : "TensorUtilsTests",
      "path" : "Tests/TensorUtilsTests",
      "sources" : [
        "LogitsWarperTests.swift",
        "TensorUtilsTests.swift",
        "TestUtils.swift"
      ],
      "target_dependencies" : [
        "TensorUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TensorUtils",
      "module_type" : "SwiftTarget",
      "name" : "TensorUtils",
      "path" : "Sources/TensorUtils",
      "product_memberships" : [
        "Transformers",
        "transformers"
      ],
      "sources" : [
        "LogitsWarper/LogitsProcessor.swift",
        "LogitsWarper/LogitsWarper.swift",
        "LogitsWarper/TemperatureLogitsWarper.swift",
        "LogitsWarper/TopKLogitsWarper.swift",
        "LogitsWarper/TopPLogitsWarper.swift",
        "MLMultiArray+Utils.swift",
        "MLShapedArray+Utils.swift",
        "Math.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PreTokenizerTests",
      "module_type" : "SwiftTarget",
      "name" : "PreTokenizerTests",
      "path" : "Tests/PreTokenizerTests",
      "sources" : [
        "PreTokenizerTests.swift"
      ],
      "target_dependencies" : [
        "Tokenizers",
        "Hub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PostProcessorTests",
      "module_type" : "SwiftTarget",
      "name" : "PostProcessorTests",
      "path" : "Tests/PostProcessorTests",
      "sources" : [
        "PostProcessorTests.swift"
      ],
      "target_dependencies" : [
        "Tokenizers",
        "Hub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NormalizerTests",
      "module_type" : "SwiftTarget",
      "name" : "NormalizerTests",
      "path" : "Tests/NormalizerTests",
      "sources" : [
        "NormalizerTests.swift"
      ],
      "target_dependencies" : [
        "Tokenizers",
        "Hub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Models",
      "module_type" : "SwiftTarget",
      "name" : "Models",
      "path" : "Sources/Models",
      "product_memberships" : [
        "Transformers",
        "transformers"
      ],
      "sources" : [
        "LanguageModel.swift",
        "LanguageModelTypes.swift"
      ],
      "target_dependencies" : [
        "Tokenizers",
        "Generation",
        "TensorUtils"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HubTests",
      "module_type" : "SwiftTarget",
      "name" : "HubTests",
      "path" : "Tests/HubTests",
      "sources" : [
        "HubApiTests.swift",
        "HubTests.swift"
      ],
      "target_dependencies" : [
        "Hub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HubCLI",
      "module_type" : "SwiftTarget",
      "name" : "HubCLI",
      "path" : "Sources/HubCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "hub-cli"
      ],
      "sources" : [
        "HubCLI.swift"
      ],
      "target_dependencies" : [
        "Hub"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Hub",
      "module_type" : "SwiftTarget",
      "name" : "Hub",
      "path" : "Sources/Hub",
      "product_memberships" : [
        "Transformers",
        "transformers",
        "hub-cli"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Hub/FallbackConfigs/gpt2_tokenizer_config.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Hub/FallbackConfigs/t5_tokenizer_config.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Downloader.swift",
        "Hub.swift",
        "HubApi.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Generation",
      "module_type" : "SwiftTarget",
      "name" : "Generation",
      "path" : "Sources/Generation",
      "product_memberships" : [
        "Transformers",
        "transformers"
      ],
      "sources" : [
        "Generation.swift",
        "GenerationConfig.swift"
      ],
      "target_dependencies" : [
        "Tokenizers",
        "TensorUtils"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.