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 (89fb5d), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 21:17:44 UTC.

Swift 6 data race errors: 8

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.56.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
Fetching https://github.com/apple/swift-argument-parser.git
[1/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.58s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.52s)
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
========================================
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/ashvardanian/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.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ashvardanian/swift-transformers.git
[1/776] Fetching swift-transformers
Fetched https://github.com/ashvardanian/swift-transformers.git from cache (1.27s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.59s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.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.3.0
Creating working copy for https://github.com/ashvardanian/swift-transformers.git
Working copy of https://github.com/ashvardanian/swift-transformers.git resolved at main (89fb5d9)
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ashvardanian/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/21] Write sources
[8/21] Copying t5_tokenizer_config.json
[9/21] Write transformers-entitlement.plist
[9/21] Write sources
[9/21] Copying gpt2_tokenizer_config.json
[10/21] Write sources
[11/21] Write hub-cli-entitlement.plist
[14/21] Write swift-version--7754E27361AE5C74.txt
[16/37] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/37] Emitting module ArgumentParserToolInfo
[18/75] Compiling ArgumentParser AsyncParsableCommand.swift
[19/75] Compiling ArgumentParser CommandConfiguration.swift
[20/75] Compiling ArgumentParser EnumerableFlag.swift
[21/75] Compiling ArgumentParser ExpressibleByArgument.swift
[22/79] Compiling ArgumentParser Platform.swift
[23/79] Compiling ArgumentParser SequenceExtensions.swift
[24/79] Compiling ArgumentParser StringExtensions.swift
[25/79] Compiling ArgumentParser Tree.swift
[26/79] Compiling Hub resource_bundle_accessor.swift
[27/79] Compiling Hub Hub.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:125:17: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
117 |
118 | public class LanguageModelConfigurationFromHub {
119 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
120 |         var modelConfig: Config
121 |         var tokenizerConfig: Config?
    :
123 |     }
124 |
125 |     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
126 |
127 |     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:131:30: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
117 |
118 | public class LanguageModelConfigurationFromHub {
119 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
120 |         var modelConfig: Config
121 |         var tokenizerConfig: Config?
    :
129 |         hubApi: HubApi = .shared
130 |     ) {
131 |         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
132 |             return try await self.loadConfig(modelName: modelName, hubApi: hubApi)
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:131:35: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
117 |
118 | public class LanguageModelConfigurationFromHub {
119 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
120 |         var modelConfig: Config
121 |         var tokenizerConfig: Config?
    :
129 |         hubApi: HubApi = .shared
130 |     ) {
131 |         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
132 |             return try await self.loadConfig(modelName: modelName, hubApi: hubApi)
133 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:140:30: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
117 |
118 | public class LanguageModelConfigurationFromHub {
119 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
120 |         var modelConfig: Config
121 |         var tokenizerConfig: Config?
    :
138 |         hubApi: HubApi = .shared
139 |     ) {
140 |         self.configPromise = Task {
    |                              `- warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
141 |             return try await self.loadConfig(modelFolder: modelFolder, hubApi: hubApi)
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:140:30: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
117 |
118 | public class LanguageModelConfigurationFromHub {
119 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
120 |         var modelConfig: Config
121 |         var tokenizerConfig: Config?
    :
138 |         hubApi: HubApi = .shared
139 |     ) {
140 |         self.configPromise = Task {
    |                              `- warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
141 |             return try await self.loadConfig(modelFolder: modelFolder, hubApi: hubApi)
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:147:38: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
117 |
118 | public class LanguageModelConfigurationFromHub {
119 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
120 |         var modelConfig: Config
121 |         var tokenizerConfig: Config?
    :
145 |     public var modelConfig: Config {
146 |         get async throws {
147 |             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
148 |         }
149 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:153:57: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
117 |
118 | public class LanguageModelConfigurationFromHub {
119 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
120 |         var modelConfig: Config
121 |         var tokenizerConfig: Config?
    :
151 |     public var tokenizerConfig: Config? {
152 |         get async throws {
153 |             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
154 |                 // Try to guess the class if it's not present and the modelType is
155 |                 if let _ = hubConfig.tokenizerClass?.stringValue { return hubConfig }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:178:38: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
117 |
118 | public class LanguageModelConfigurationFromHub {
119 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
120 |         var modelConfig: Config
121 |         var tokenizerConfig: Config?
    :
176 |     public var tokenizerData: Config {
177 |         get async throws {
178 |             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
179 |         }
180 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:131: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
129 |         hubApi: HubApi = .shared
130 |     ) {
131 |         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
132 |             return try await self.loadConfig(modelName: modelName, hubApi: hubApi)
    |                              `- note: closure captures 'self' which is accessible to code in the current task
133 |         }
134 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Hub/Hub.swift:140: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
138 |         hubApi: HubApi = .shared
139 |     ) {
140 |         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
141 |             return try await self.loadConfig(modelFolder: modelFolder, hubApi: hubApi)
    |                              `- note: closure captures 'self' which is accessible to code in the current task
142 |         }
143 |     }
[28/79] 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 {
[29/79] 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 |
[30/79] 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:125:17: warning: type 'LanguageModelConfigurationFromHub.Configurations' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
117 |
118 | public class LanguageModelConfigurationFromHub {
119 |     struct Configurations {
    |            `- note: consider making struct 'Configurations' conform to the 'Sendable' protocol
120 |         var modelConfig: Config
121 |         var tokenizerConfig: Config?
    :
123 |     }
124 |
125 |     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
126 |
127 |     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 |
[31/91] Emitting module ArgumentParser
[32/91] Compiling ArgumentParser ParserError.swift
[33/91] Compiling ArgumentParser SplitArguments.swift
[34/91] Compiling ArgumentParser DumpHelpGenerator.swift
[35/91] Compiling ArgumentParser HelpCommand.swift
[36/91] Compiling ArgumentParser InputOrigin.swift
[37/91] Compiling ArgumentParser Name.swift
[38/91] Compiling ArgumentParser Parsed.swift
[39/91] Compiling ArgumentParser ParsedValues.swift
[40/91] Compiling ArgumentParser ArgumentHelp.swift
[41/91] Compiling ArgumentParser ArgumentVisibility.swift
[42/91] Compiling ArgumentParser CompletionKind.swift
[43/91] Compiling ArgumentParser Errors.swift
[44/91] Compiling Tokenizers ByteEncoder.swift
[45/91] Compiling Tokenizers Decoder.swift
[46/91] Compiling Tokenizers BPETokenizer.swift
[47/91] Compiling Tokenizers BertTokenizer.swift
[48/91] Compiling ArgumentParser ParsableArguments.swift
[49/91] Compiling ArgumentParser ParsableArgumentsValidation.swift
[50/91] Compiling ArgumentParser ParsableCommand.swift
[51/91] Compiling ArgumentParser ArgumentDecoder.swift
[52/91] Compiling Tokenizers Trie.swift
[53/91] Compiling Tokenizers UnigramTokenizer.swift
[54/92] Compiling ArgumentParser BashCompletionsGenerator.swift
[55/92] Compiling ArgumentParser CompletionsGenerator.swift
[56/92] Compiling ArgumentParser FishCompletionsGenerator.swift
[57/92] Compiling ArgumentParser ZshCompletionsGenerator.swift
[58/92] Compiling ArgumentParser Argument.swift
[59/92] Compiling ArgumentParser Flag.swift
[60/92] Compiling ArgumentParser NameSpecification.swift
[61/92] Compiling ArgumentParser Option.swift
[62/92] Compiling ArgumentParser OptionGroup.swift
[63/92] Compiling ArgumentParser ArgumentDefinition.swift
[64/92] Compiling ArgumentParser ArgumentSet.swift
[65/92] Compiling ArgumentParser CommandParser.swift
[66/92] Compiling ArgumentParser InputKey.swift
[67/94] Compiling Tokenizers TokenLattice.swift
[68/94] Compiling Tokenizers Tokenizer.swift
[69/94] Compiling Tokenizers Utils.swift
[70/94] Compiling Tokenizers PreTokenizer.swift
[71/94] Compiling Tokenizers Normalizer.swift
[72/94] Compiling Tokenizers PostProcessor.swift
[75/94] Emitting module Tokenizers
[78/94] Emitting module HubCLI
/Users/admin/builder/spi-builder-workspace/Sources/HubCLI/HubCLI.swift:10:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | @main
 9 | struct HubCLI: AsyncParsableCommand {
10 |     static let configuration = CommandConfiguration(
   |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
11 |         abstract: "Hugging Face Hub Client",
12 |         version: "0.0.1",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/HubCLI/HubCLI.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 | import Foundation
 3 |
   :
 8 | @main
 9 | struct HubCLI: AsyncParsableCommand {
10 |     static let configuration = CommandConfiguration(
   |                |- note: annotate 'configuration' 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
11 |         abstract: "Hugging Face Hub Client",
12 |         version: "0.0.1",
/Users/admin/builder/spi-builder-workspace/Sources/HubCLI/HubCLI.swift:30:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | struct Download: AsyncParsableCommand, SubcommandWithToken {
30 |     static let configuration = CommandConfiguration(abstract: "Snapshot download from the Hub")
   |                |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'configuration' 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
31 |
32 |     enum RepoType: String, ExpressibleByArgument {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/HubCLI/HubCLI.swift:73:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | struct Whoami: AsyncParsableCommand, SubcommandWithToken {
73 |     static let configuration = CommandConfiguration(abstract: "whoami")
   |                |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'configuration' 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
74 |
75 |     @Option(help: "Hugging Face token. If empty, will attempt to read from the filesystem at \(defaultTokenLocation)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
[79/94] Compiling HubCLI HubCLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/HubCLI/HubCLI.swift:10:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | @main
 9 | struct HubCLI: AsyncParsableCommand {
10 |     static let configuration = CommandConfiguration(
   |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
11 |         abstract: "Hugging Face Hub Client",
12 |         version: "0.0.1",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/HubCLI/HubCLI.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 1 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 | import Foundation
 3 |
   :
 8 | @main
 9 | struct HubCLI: AsyncParsableCommand {
10 |     static let configuration = CommandConfiguration(
   |                |- note: annotate 'configuration' 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
11 |         abstract: "Hugging Face Hub Client",
12 |         version: "0.0.1",
/Users/admin/builder/spi-builder-workspace/Sources/HubCLI/HubCLI.swift:30:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | struct Download: AsyncParsableCommand, SubcommandWithToken {
30 |     static let configuration = CommandConfiguration(abstract: "Snapshot download from the Hub")
   |                |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'configuration' 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
31 |
32 |     enum RepoType: String, ExpressibleByArgument {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/HubCLI/HubCLI.swift:73:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | struct Whoami: AsyncParsableCommand, SubcommandWithToken {
73 |     static let configuration = CommandConfiguration(abstract: "whoami")
   |                |- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'configuration' 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
74 |
75 |     @Option(help: "Hugging Face token. If empty, will attempt to read from the filesystem at \(defaultTokenLocation)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
[79/94] Write Objects.LinkFileList
[80/94] Linking hub-cli
[81/94] Applying hub-cli
[83/94] Compiling TensorUtils MLShapedArray+Utils.swift
[84/94] Compiling TensorUtils MLMultiArray+Utils.swift
[85/94] Compiling TensorUtils TopKLogitsWarper.swift
[86/94] Compiling TensorUtils TemperatureLogitsWarper.swift
[87/94] Compiling TensorUtils LogitsProcessor.swift
[88/94] Compiling TensorUtils Math.swift
[89/94] Compiling TensorUtils LogitsWarper.swift
[90/94] Emitting module TensorUtils
[91/94] Compiling TensorUtils TopPLogitsWarper.swift
[92/97] Compiling Generation GenerationConfig.swift
[93/97] Emitting module Generation
[94/97] Compiling Generation Generation.swift
[95/100] 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 |
[96/100] Compiling Models LanguageModelTypes.swift
[97/100] 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 |
[98/102] Compiling TransformersCLI main.swift
/Users/admin/builder/spi-builder-workspace/Sources/TransformersCLI/main.swift:10:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | @available(iOS 16.2, macOS 13.1, *)
  9 | struct TransformersCLI: ParsableCommand {
 10 |     static let configuration = CommandConfiguration(
    |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |         abstract: "Run text generation on a Core ML language model",
 12 |         version: "0.0.1"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/TransformersCLI/main.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  1 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  2 | import CoreML
  3 | import Foundation
    :
  8 | @available(iOS 16.2, macOS 13.1, *)
  9 | struct TransformersCLI: ParsableCommand {
 10 |     static let configuration = CommandConfiguration(
    |                |- note: annotate 'configuration' 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
 11 |         abstract: "Run text generation on a Core ML language model",
 12 |         version: "0.0.1"
/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")
[99/102] Emitting module TransformersCLI
/Users/admin/builder/spi-builder-workspace/Sources/TransformersCLI/main.swift:10:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | @available(iOS 16.2, macOS 13.1, *)
  9 | struct TransformersCLI: ParsableCommand {
 10 |     static let configuration = CommandConfiguration(
    |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |         abstract: "Run text generation on a Core ML language model",
 12 |         version: "0.0.1"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/TransformersCLI/main.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  1 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  2 | import CoreML
  3 | import Foundation
    :
  8 | @available(iOS 16.2, macOS 13.1, *)
  9 | struct TransformersCLI: ParsableCommand {
 10 |     static let configuration = CommandConfiguration(
    |                |- note: annotate 'configuration' 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
 11 |         abstract: "Run text generation on a Core ML language model",
 12 |         version: "0.0.1"
[99/102] Write Objects.LinkFileList
[100/102] Linking transformers
[101/102] Applying transformers
Build complete! (21.85s)
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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/ashvardanian/swift-transformers/main
Repository:               ashvardanian/swift-transformers
Swift version used:       6.0
Target:                   Transformers
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.58s)
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.29s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.49s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.68s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
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
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
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Emitting module SymbolKit
[11/57] Compiling SymbolKit DeclarationFragments.swift
[12/57] Compiling SymbolKit Fragment.swift
[13/57] Compiling SymbolKit FragmentKind.swift
[14/57] Compiling SymbolKit FunctionParameter.swift
[15/57] Compiling SymbolKit FunctionSignature.swift
[16/57] Compiling SymbolKit Identifier.swift
[17/57] Compiling SymbolKit KindIdentifier.swift
[18/57] Compiling SymbolKit Location.swift
[19/57] Compiling SymbolKit Mutability.swift
[20/57] Compiling SymbolKit Mixin+Equals.swift
[21/57] Compiling SymbolKit Mixin+Hash.swift
[22/57] Compiling SymbolKit Mixin.swift
[23/57] Compiling SymbolKit LineList.swift
[24/57] Compiling SymbolKit Position.swift
[25/57] Compiling SymbolKit Relationship.swift
[26/57] Compiling SymbolKit RelationshipKind.swift
[27/57] Compiling SymbolKit SourceOrigin.swift
[28/57] Compiling SymbolKit GenericConstraints.swift
[29/57] Compiling SymbolKit Swift.swift
[30/57] Compiling SymbolKit SemanticVersion.swift
[31/57] Compiling SymbolKit AccessControl.swift
[32/57] Compiling SymbolKit Availability.swift
[33/57] Compiling SymbolKit AvailabilityItem.swift
[34/57] Compiling SymbolKit Domain.swift
[35/57] Compiling SymbolKit SourceRange.swift
[36/57] Compiling SymbolKit Metadata.swift
[37/57] Compiling SymbolKit Module.swift
[38/57] Compiling SymbolKit OperatingSystem.swift
[39/57] Compiling SymbolKit Platform.swift
[40/57] Compiling SymbolKit Names.swift
[41/57] Compiling SymbolKit SPI.swift
[42/57] Compiling SymbolKit Snippet.swift
[43/57] Compiling SymbolKit Extension.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 SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.29s)
error: no target named 'Transformers'
compatible targets: 'Tokenizers', 'Generation', 'Models', 'TransformersCLI', 'HubCLI', 'TensorUtils', 'Hub', 'ArgumentParser'
       1
0	/Users/admin/builder/spi-builder-workspace/.docs/ashvardanian/swift-transformers/main
✅  Doc result (uploading) reported
Error while generating docs: Error Domain=NSCocoaErrorDomain Code=260 "The folder “documentation” doesn’t exist." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.docs/ashvardanian/swift-transformers/main/documentation, NSUserStringVariant=(
    Folder
), NSUnderlyingError=0x6000032223a0 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}}
✅  Doc result (failed) reported
Done.