The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of swift-transformers, reference main (d42fda), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 19:49:58 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/swift-transformers.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/huggingface/swift-transformers
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d42fdae Update Jinja version (#138)
Cloned https://github.com/huggingface/swift-transformers.git
Revision (git rev-parse @):
d42fdae473c49ea216671da8caae58e102d28709
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/huggingface/swift-transformers.git at main
Fetching https://github.com/maiqingqiang/Jinja
Fetching https://github.com/apple/swift-argument-parser.git
[1/246] Fetching jinja
[247/12610] Fetching jinja, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.64s)
Fetched https://github.com/maiqingqiang/Jinja from cache (1.64s)
Computing version for https://github.com/maiqingqiang/Jinja
Computed https://github.com/maiqingqiang/Jinja at 1.0.6 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.51s)
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.5.0
Creating working copy for https://github.com/maiqingqiang/Jinja
Working copy of https://github.com/maiqingqiang/Jinja resolved at 1.0.6
========================================
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",
  "dependencies": [
    {
      "identity": "swift-transformers",
      "name": "swift-transformers",
      "url": "https://github.com/huggingface/swift-transformers.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-transformers",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "jinja",
          "name": "Jinja",
          "url": "https://github.com/maiqingqiang/Jinja",
          "version": "1.0.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Jinja",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/huggingface/swift-transformers.git
[1/1891] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.29s)
Fetching https://github.com/maiqingqiang/Jinja from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.59s)
Fetched https://github.com/maiqingqiang/Jinja from cache (0.59s)
Computing version for https://github.com/maiqingqiang/Jinja
Computed https://github.com/maiqingqiang/Jinja at 1.0.6 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.04s)
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.5.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at main (d42fdae)
Creating working copy for https://github.com/maiqingqiang/Jinja
Working copy of https://github.com/maiqingqiang/Jinja resolved at 1.0.6
Found 2 product dependencies
  - swift-argument-parser
  - Jinja
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/huggingface/swift-transformers.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/22] Write sources
[2/22] Write hub-cli-entitlement.plist
[2/22] Write sources
[7/22] Write transformers-entitlement.plist
[7/22] Write sources
[9/22] Copying gpt2_tokenizer_config.json
[10/22] Write sources
[13/22] Copying t5_tokenizer_config.json
[14/22] Write sources
[15/22] Write swift-version--7754E27361AE5C74.txt
[17/49] Emitting module ArgumentParserToolInfo
[18/49] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/88] Compiling ArgumentParser ArgumentHelp.swift
[20/88] Compiling ArgumentParser ArgumentVisibility.swift
[21/88] Compiling ArgumentParser CompletionKind.swift
[22/88] Compiling ArgumentParser Errors.swift
[23/88] Compiling ArgumentParser Flag.swift
[24/92] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/92] Compiling ArgumentParser CompletionsGenerator.swift
[26/92] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/92] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/92] Compiling ArgumentParser Argument.swift
[29/92] Emitting module ArgumentParser
[30/92] Compiling ArgumentParser Platform.swift
[31/92] Compiling ArgumentParser SequenceExtensions.swift
[32/92] Compiling ArgumentParser StringExtensions.swift
[33/92] Compiling ArgumentParser Tree.swift
[34/92] Compiling ArgumentParser ParsableArguments.swift
[35/92] Compiling ArgumentParser ParsableArgumentsValidation.swift
[36/92] Compiling ArgumentParser ParsableCommand.swift
[37/92] Compiling ArgumentParser ArgumentDecoder.swift
[38/92] Compiling ArgumentParser NameSpecification.swift
[39/92] Compiling ArgumentParser Option.swift
[40/92] Compiling ArgumentParser OptionGroup.swift
[41/92] Compiling ArgumentParser AsyncParsableCommand.swift
[42/92] Compiling ArgumentParser ArgumentDefinition.swift
[43/92] Compiling ArgumentParser ArgumentSet.swift
[44/92] Compiling ArgumentParser CommandParser.swift
[45/92] Compiling ArgumentParser InputKey.swift
[46/92] Emitting module Jinja
[47/92] Compiling Hub Downloader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Downloader.swift:12:7: warning: non-final class 'Downloader' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 10 | import Combine
 11 |
 12 | class Downloader: NSObject, ObservableObject {
    |       `- warning: non-final class 'Downloader' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 13 |     private(set) var destination: URL
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Downloader.swift:13:22: warning: stored property 'destination' of 'Sendable'-conforming class 'Downloader' is mutable; this is an error in the Swift 6 language mode
 11 |
 12 | class Downloader: NSObject, ObservableObject {
 13 |     private(set) var destination: URL
    |                      `- warning: stored property 'destination' of 'Sendable'-conforming class 'Downloader' is mutable; this is an error in the Swift 6 language mode
 14 |
 15 |     enum DownloadState {
[48/92] Compiling Hub HubApi.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hub/HubApi.swift:31:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HubApi' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct HubApi {
    |               `- note: consider making struct 'HubApi' conform to the 'Sendable' protocol
 11 |     var downloadBase: URL
 12 |     var hfToken: String?
    :
 29 |     }
 30 |
 31 |     public static let shared = HubApi()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HubApi' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 | }
 33 |
[49/92] Compiling Hub resource_bundle_accessor.swift
[50/92] Emitting module Hub
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Downloader.swift:12:7: warning: non-final class 'Downloader' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 10 | import Combine
 11 |
 12 | class Downloader: NSObject, ObservableObject {
    |       `- warning: non-final class 'Downloader' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 13 |     private(set) var destination: URL
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Downloader.swift:13:22: warning: stored property 'destination' of 'Sendable'-conforming class 'Downloader' is mutable; this is an error in the Swift 6 language mode
 11 |
 12 | class Downloader: NSObject, ObservableObject {
 13 |     private(set) var destination: URL
    |                      `- warning: stored property 'destination' of 'Sendable'-conforming class 'Downloader' is mutable; this is an error in the Swift 6 language mode
 14 |
 15 |     enum DownloadState {
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:113:17: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |
106 | public class LanguageModelConfigurationFromHub {
107 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
108 |         var modelConfig: Config
109 |         var tokenizerConfig: Config?
    :
111 |     }
112 |
113 |     private var configPromise: Task<Configurations, Error>? = nil
    |                 `- warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
114 |
115 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/Hub/HubApi.swift:31:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HubApi' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct HubApi {
    |               `- note: consider making struct 'HubApi' conform to the 'Sendable' protocol
 11 |     var downloadBase: URL
 12 |     var hfToken: String?
    :
 29 |     }
 30 |
 31 |     public static let shared = HubApi()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HubApi' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 | }
 33 |
[51/92] Compiling Hub Hub.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:113:17: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |
106 | public class LanguageModelConfigurationFromHub {
107 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
108 |         var modelConfig: Config
109 |         var tokenizerConfig: Config?
    :
111 |     }
112 |
113 |     private var configPromise: Task<Configurations, Error>? = nil
    |                 `- warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
114 |
115 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/Hub/HubApi.swift:31:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HubApi' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct HubApi {
    |               `- note: consider making struct 'HubApi' conform to the 'Sendable' protocol
 11 |     var downloadBase: URL
 12 |     var hfToken: String?
    :
 29 |     }
 30 |
 31 |     public static let shared = HubApi()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HubApi' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 | }
 33 |
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:119:30: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |
106 | public class LanguageModelConfigurationFromHub {
107 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
108 |         var modelConfig: Config
109 |         var tokenizerConfig: Config?
    :
117 |         hubApi: HubApi = .shared
118 |     ) {
119 |         self.configPromise = Task.init {
    |                              `- warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
120 |             return try await self.loadConfig(modelName: modelName, hubApi: hubApi)
121 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:119:35: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |
106 | public class LanguageModelConfigurationFromHub {
107 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
108 |         var modelConfig: Config
109 |         var tokenizerConfig: Config?
    :
117 |         hubApi: HubApi = .shared
118 |     ) {
119 |         self.configPromise = Task.init {
    |                                   `- warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
120 |             return try await self.loadConfig(modelName: modelName, hubApi: hubApi)
121 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:128:30: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |
106 | public class LanguageModelConfigurationFromHub {
107 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
108 |         var modelConfig: Config
109 |         var tokenizerConfig: Config?
    :
126 |         hubApi: HubApi = .shared
127 |     ) {
128 |         self.configPromise = Task {
    |                              `- warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
129 |             return try await self.loadConfig(modelFolder: modelFolder, hubApi: hubApi)
130 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:128:30: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |
106 | public class LanguageModelConfigurationFromHub {
107 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
108 |         var modelConfig: Config
109 |         var tokenizerConfig: Config?
    :
126 |         hubApi: HubApi = .shared
127 |     ) {
128 |         self.configPromise = Task {
    |                              `- warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
129 |             return try await self.loadConfig(modelFolder: modelFolder, hubApi: hubApi)
130 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:135:38: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |
106 | public class LanguageModelConfigurationFromHub {
107 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
108 |         var modelConfig: Config
109 |         var tokenizerConfig: Config?
    :
133 |     public var modelConfig: Config {
134 |         get async throws {
135 |             try await configPromise!.value.modelConfig
    |                                      `- warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
136 |         }
137 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:141:57: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |
106 | public class LanguageModelConfigurationFromHub {
107 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
108 |         var modelConfig: Config
109 |         var tokenizerConfig: Config?
    :
139 |     public var tokenizerConfig: Config? {
140 |         get async throws {
141 |             if let hubConfig = try await configPromise!.value.tokenizerConfig {
    |                                                         `- warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
142 |                 // Try to guess the class if it's not present and the modelType is
143 |                 if let _ = hubConfig.tokenizerClass?.stringValue { return hubConfig }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:166:38: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |
106 | public class LanguageModelConfigurationFromHub {
107 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
108 |         var modelConfig: Config
109 |         var tokenizerConfig: Config?
    :
164 |     public var tokenizerData: Config {
165 |         get async throws {
166 |             try await configPromise!.value.tokenizerData
    |                                      `- warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
167 |         }
168 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:119:40: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
117 |         hubApi: HubApi = .shared
118 |     ) {
119 |         self.configPromise = Task.init {
    |                                        `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
120 |             return try await self.loadConfig(modelName: modelName, hubApi: hubApi)
    |                              `- note: closure captures 'self' which is accessible to code in the current task
121 |         }
122 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:128:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
126 |         hubApi: HubApi = .shared
127 |     ) {
128 |         self.configPromise = Task {
    |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 |             return try await self.loadConfig(modelFolder: modelFolder, hubApi: hubApi)
    |                              `- note: closure captures 'self' which is accessible to code in the current task
130 |         }
131 |     }
[52/92] Compiling Jinja Template.swift
[53/92] Compiling Jinja Utilities.swift
[54/92] Compiling Jinja StringExtension.swift
[55/92] Compiling Jinja Ast.swift
[56/92] Compiling Jinja Environment.swift
[57/92] Compiling Jinja Lexer.swift
[58/92] Compiling Jinja Error.swift
[59/92] Compiling Jinja Runtime.swift
[60/92] Compiling Jinja Parser.swift
[61/104] Compiling TensorUtils MLMultiArray+Utils.swift
[62/104] Compiling TensorUtils TopPLogitsWarper.swift
[63/104] Compiling Tokenizers TokenLattice.swift
[64/104] Compiling Tokenizers UnigramTokenizer.swift
[65/104] Compiling Tokenizers Trie.swift
[66/104] Compiling Tokenizers Tokenizer.swift
[67/105] Compiling Tokenizers Normalizer.swift
[68/105] Compiling Tokenizers PostProcessor.swift
[69/105] Compiling Tokenizers ByteEncoder.swift
[70/105] Compiling Tokenizers Decoder.swift
[71/105] Compiling Tokenizers BPETokenizer.swift
[72/105] Compiling Tokenizers BertTokenizer.swift
[73/105] Emitting module Tokenizers
[74/105] Compiling Tokenizers PreTokenizer.swift
[75/105] Compiling Tokenizers Utils.swift
[76/105] Compiling ArgumentParser InputOrigin.swift
[77/105] Compiling ArgumentParser Name.swift
[78/105] Compiling ArgumentParser Parsed.swift
[79/105] Compiling ArgumentParser ParsedValues.swift
[80/105] Compiling ArgumentParser ParserError.swift
[81/105] Compiling ArgumentParser SplitArguments.swift
[82/105] Compiling ArgumentParser DumpHelpGenerator.swift
[83/105] Compiling ArgumentParser HelpCommand.swift
[84/105] Compiling ArgumentParser HelpGenerator.swift
[85/105] Compiling ArgumentParser MessageInfo.swift
[86/105] Compiling ArgumentParser UsageGenerator.swift
[87/105] Compiling ArgumentParser CollectionExtensions.swift
[88/105] Compiling ArgumentParser CommandConfiguration.swift
[89/105] Compiling ArgumentParser CommandGroup.swift
[90/105] Compiling ArgumentParser EnumerableFlag.swift
[91/105] Compiling ArgumentParser ExpressibleByArgument.swift
[92/107] Emitting module TensorUtils
[93/107] Compiling TensorUtils TemperatureLogitsWarper.swift
[94/107] Compiling TensorUtils LogitsWarper.swift
[95/107] Compiling TensorUtils RepetitionPenaltyWarper.swift
[96/107] Compiling TensorUtils TopKLogitsWarper.swift
[97/107] Compiling TensorUtils LogitsProcessor.swift
[98/107] Compiling TensorUtils MLShapedArray+Utils.swift
[99/107] Compiling TensorUtils Math.swift
[100/110] Compiling HubCLI HubCLI.swift
[101/110] Emitting module HubCLI
[101/110] Write Objects.LinkFileList
[103/110] Compiling Generation GenerationConfig.swift
[104/110] Emitting module Generation
[105/110] Compiling Generation Generation.swift
[105/113] Linking hub-cli
[106/113] Applying hub-cli
[108/113] Emitting module Models
/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 |
[109/113] Compiling Models LanguageModelTypes.swift
[110/113] Compiling Models LanguageModel.swift
/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 |
[111/115] Emitting module TransformersCLI
[112/115] Compiling TransformersCLI main.swift
/Users/admin/builder/spi-builder-workspace/Sources/TransformersCLI/main.swift:29:19: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 27 |     func generate(model: LanguageModel, config: GenerationConfig, prompt: String, printOutput: Bool = true) {
 28 |         let semaphore = DispatchSemaphore(value: 0)
 29 |         Task.init { [config] in
    |                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 30 |             defer { semaphore.signal() }
 31 |             var tokensReceived = 0
    :
 33 |             let begin = Date()
 34 |             do {
 35 |                 try await model.generate(config: config, prompt: prompt) { inProgressGeneration in
    |                                                  `- note: closure captures 'config' which is accessible to code in the current task
 36 |                     tokensReceived += 1
 37 |                     let response = inProgressGeneration.replacingOccurrences(of: "\\n", with: "\n")
[112/115] Write Objects.LinkFileList
[113/115] Linking transformers
[114/115] Applying transformers
Build complete! (29.09s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "jinja",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.6",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/maiqingqiang/Jinja"
    }
  ],
  "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/gemma_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_3.2_encoded.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" : [
        "AddedTokensTests.swift",
        "BertTokenizerTests.swift",
        "ChatTemplateTests.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_dependencies" : [
        "Jinja"
      ],
      "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/RepetitionPenaltyWarper.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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/huggingface/swift-transformers/main
Repository:               huggingface/swift-transformers
Swift version used:       6.0
Target:                   Hub
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'Hub'...
Finished extracting symbol information for 'Hub'. (3.04s)
Building documentation for 'Hub'...
Finished building documentation for 'Hub' (0.14s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/huggingface/swift-transformers/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-argument-parser.git
Updated https://github.com/apple/swift-argument-parser.git (0.59s)
[1/2038] Fetching swift-docc-plugin
Updating https://github.com/maiqingqiang/Jinja
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.27s)
Updated https://github.com/maiqingqiang/Jinja (0.45s)
Computing version for https://github.com/maiqingqiang/Jinja
Computed https://github.com/maiqingqiang/Jinja at 1.0.6 (0.49s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3178] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.22s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.69s)
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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/7] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Compiling SymbolKit Mixin+Equals.swift
[12/57] Compiling SymbolKit Mixin+Hash.swift
[13/57] Compiling SymbolKit Mixin.swift
[14/57] Compiling SymbolKit LineList.swift
[15/57] Compiling SymbolKit Position.swift
[16/57] Emitting module SymbolKit
[17/57] Compiling SymbolKit Identifier.swift
[18/57] Compiling SymbolKit KindIdentifier.swift
[19/57] Compiling SymbolKit Location.swift
[20/57] Compiling SymbolKit Mutability.swift
[21/57] Compiling SymbolKit SemanticVersion.swift
[22/57] Compiling SymbolKit AccessControl.swift
[23/57] Compiling SymbolKit Availability.swift
[24/57] Compiling SymbolKit AvailabilityItem.swift
[25/57] Compiling SymbolKit Domain.swift
[26/57] Compiling SymbolKit Names.swift
[27/57] Compiling SymbolKit SPI.swift
[28/57] Compiling SymbolKit Snippet.swift
[29/57] Compiling SymbolKit Extension.swift
[30/57] Compiling SymbolKit GenericConstraint.swift
[31/57] Compiling SymbolKit GenericParameter.swift
[32/57] Compiling SymbolKit Generics.swift
[33/57] Compiling SymbolKit Namespace.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit SourceRange.swift
[40/57] Compiling SymbolKit Metadata.swift
[41/57] Compiling SymbolKit Module.swift
[42/57] Compiling SymbolKit OperatingSystem.swift
[43/57] Compiling SymbolKit Platform.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets Snippet.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.08s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/6] Compiling Hub resource_bundle_accessor.swift
[3/6] Emitting module Hub
[4/6] Compiling Hub Hub.swift
[5/6] Compiling Hub Downloader.swift
[6/6] Compiling Hub HubApi.swift
Build of target: 'Hub' complete! (0.79s)
Target:                   Tokenizers
Extracting symbol information for 'Tokenizers'...
Finished extracting symbol information for 'Tokenizers'. (1.96s)
Building documentation for 'Tokenizers'...
Finished building documentation for 'Tokenizers' (0.13s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/huggingface/swift-transformers/main
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.22s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/11] Compiling Jinja Template.swift
[3/11] Compiling Jinja Utilities.swift
[4/11] Compiling Jinja StringExtension.swift
[5/11] Compiling Jinja Parser.swift
[6/11] Compiling Jinja Lexer.swift
[7/11] Compiling Jinja Runtime.swift
[8/11] Compiling Jinja Error.swift
[9/11] Compiling Jinja Environment.swift
[10/11] Compiling Jinja Ast.swift
[11/11] Emitting module Jinja
[12/23] Compiling Tokenizers Trie.swift
[13/24] Compiling Tokenizers PreTokenizer.swift
[14/24] Compiling Tokenizers PostProcessor.swift
[15/24] Compiling Tokenizers Normalizer.swift
[16/24] Compiling Tokenizers TokenLattice.swift
[17/24] Compiling Tokenizers Tokenizer.swift
[18/24] Compiling Tokenizers UnigramTokenizer.swift
[19/24] Compiling Tokenizers ByteEncoder.swift
[20/24] Compiling Tokenizers Decoder.swift
[21/24] Emitting module Tokenizers
[22/24] Compiling Tokenizers BPETokenizer.swift
[23/24] Compiling Tokenizers BertTokenizer.swift
[24/24] Compiling Tokenizers Utils.swift
Build of target: 'Tokenizers' complete! (1.73s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/huggingface/swift-transformers/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/huggingface/swift-transformers/main/linkable-paths.json
Target:                   TensorUtils
Extracting symbol information for 'TensorUtils'...
Finished extracting symbol information for 'TensorUtils'. (2.53s)
Building documentation for 'TensorUtils'...
Finished building documentation for 'TensorUtils' (0.07s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/huggingface/swift-transformers/main
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.21s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/11] Emitting module TensorUtils
[3/11] Compiling TensorUtils LogitsWarper.swift
[4/11] Compiling TensorUtils RepetitionPenaltyWarper.swift
[5/11] Compiling TensorUtils TemperatureLogitsWarper.swift
[6/11] Compiling TensorUtils LogitsProcessor.swift
[7/11] Compiling TensorUtils MLMultiArray+Utils.swift
[8/11] Compiling TensorUtils TopPLogitsWarper.swift
[9/11] Compiling TensorUtils Math.swift
[10/11] Compiling TensorUtils TopKLogitsWarper.swift
[11/11] Compiling TensorUtils MLShapedArray+Utils.swift
Build of target: 'TensorUtils' complete! (0.86s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/huggingface/swift-transformers/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/huggingface/swift-transformers/main/linkable-paths.json
Target:                   Generation
Extracting symbol information for 'Generation'...
Finished extracting symbol information for 'Generation'. (0.87s)
Building documentation for 'Generation'...
Finished building documentation for 'Generation' (0.06s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/huggingface/swift-transformers/main
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.22s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/4] Emitting module Generation
[3/4] Compiling Generation GenerationConfig.swift
[4/4] Compiling Generation Generation.swift
Build of target: 'Generation' complete! (0.69s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/huggingface/swift-transformers/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/huggingface/swift-transformers/main/linkable-paths.json
Target:                   Models
Extracting symbol information for 'Models'...
Finished extracting symbol information for 'Models'. (0.93s)
Building documentation for 'Models'...
Finished building documentation for 'Models' (0.06s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/huggingface/swift-transformers/main
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.22s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/4] Compiling Models LanguageModelTypes.swift
[3/4] Compiling Models LanguageModel.swift
/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 |
[4/4] Emitting module Models
/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 of target: 'Models' complete! (0.71s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/huggingface/swift-transformers/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/huggingface/swift-transformers/main/linkable-paths.json
     890
6	/Users/admin/builder/spi-builder-workspace/.docs/huggingface/swift-transformers/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/huggingface/swift-transformers/main
File count: 890
Doc size:   6.0MB
Preparing doc bundle ...
Uploading prod-huggingface-swift-transformers-main-465d52f8.zip to s3://spi-docs-inbox/prod-huggingface-swift-transformers-main-465d52f8.zip
Copying... [10%]
Copying... [21%]
Copying... [31%]
Copying... [41%]
Copying... [52%]
Copying... [62%]
Copying... [72%]
Copying... [83%]
Copying... [93%]
Copying... [100%]
Done.