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 SwiftTranslate, reference develop (95bab7), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 11:18:12 UTC.

Swift 6 data race errors: 0

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/hidden-spectrum/swift-translate.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hidden-spectrum/swift-translate
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 95bab7a Fix build (#41)
Cloned https://github.com/hidden-spectrum/swift-translate.git
Revision (git rev-parse @):
95bab7a65484f914303fa8a6a551fe0ebee9f024
SUCCESS checkout https://github.com/hidden-spectrum/swift-translate.git at develop
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/MacPaw/OpenAI.git
Fetching https://github.com/apple/swift-argument-parser
[1/1126] Fetching rainbow
[733/5494] Fetching rainbow, openai
[1537/17847] Fetching rainbow, openai, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow.git from cache (1.56s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.56s)
Fetched https://github.com/MacPaw/OpenAI.git from cache (1.56s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.0.0 (3.78s)
Computing version for https://github.com/MacPaw/OpenAI.git
Computed https://github.com/MacPaw/OpenAI.git at 0.3.0 (2.74s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.55s)
Creating working copy for https://github.com/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at 0.3.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.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-translate",
      "name": "SwiftTranslate",
      "url": "https://github.com/hidden-spectrum/swift-translate.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-translate",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "openai",
          "name": "OpenAI",
          "url": "https://github.com/MacPaw/OpenAI.git",
          "version": "0.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenAI",
          "dependencies": [
          ]
        },
        {
          "identity": "rainbow",
          "name": "Rainbow",
          "url": "https://github.com/onevcat/Rainbow.git",
          "version": "4.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/hidden-spectrum/swift-translate.git
[1/1140] Fetching swift-translate
Fetched https://github.com/hidden-spectrum/swift-translate.git from cache (0.95s)
Fetching https://github.com/onevcat/Rainbow.git from cache
Fetching https://github.com/MacPaw/OpenAI.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/MacPaw/OpenAI.git from cache (0.58s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.58s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.58s)
Computing version for https://github.com/MacPaw/OpenAI.git
Computed https://github.com/MacPaw/OpenAI.git at 0.3.0 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.04s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.0.1 (0.68s)
Creating working copy for https://github.com/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at 0.3.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/hidden-spectrum/swift-translate.git
Working copy of https://github.com/hidden-spectrum/swift-translate.git resolved at develop (95bab7a)
Found 3 product dependencies
  - swift-argument-parser
  - OpenAI
  - Rainbow
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/hidden-spectrum/swift-translate.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
[2/2] Compiling plugin SwiftTranslate
Building for debugging...
[2/13] Write sources
[8/13] Write swift-translate-entitlement.plist
[9/13] Write swift-version--7754E27361AE5C74.txt
[11/82] Emitting module ArgumentParserToolInfo
[12/82] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/121] Compiling Rainbow StringGenerator.swift
[14/122] Compiling Rainbow Style.swift
[15/122] Compiling Rainbow String+Rainbow.swift
[16/122] Compiling ArgumentParser CommandConfiguration.swift
[17/122] Compiling ArgumentParser CommandGroup.swift
[18/122] Compiling ArgumentParser EnumerableFlag.swift
[19/122] Compiling ArgumentParser ExpressibleByArgument.swift
[20/126] Compiling ArgumentParser InputOrigin.swift
[21/126] Compiling ArgumentParser Name.swift
[22/126] Compiling ArgumentParser Parsed.swift
[23/126] Compiling ArgumentParser ParsedValues.swift
[24/126] Compiling ArgumentParser NameSpecification.swift
[25/126] Compiling ArgumentParser Option.swift
[26/126] Compiling ArgumentParser OptionGroup.swift
[27/126] Compiling ArgumentParser AsyncParsableCommand.swift
[28/126] Compiling ArgumentParser ArgumentHelp.swift
[29/126] Compiling ArgumentParser ArgumentVisibility.swift
[30/126] Compiling ArgumentParser CompletionKind.swift
[31/126] Compiling ArgumentParser Errors.swift
[32/126] Compiling ArgumentParser Flag.swift
[33/126] Compiling ArgumentParser BashCompletionsGenerator.swift
[34/126] Compiling ArgumentParser CompletionsGenerator.swift
[35/126] Compiling ArgumentParser FishCompletionsGenerator.swift
[36/126] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/126] Compiling ArgumentParser Argument.swift
[38/126] Compiling ArgumentParser Platform.swift
[39/126] Compiling ArgumentParser SequenceExtensions.swift
[40/126] Compiling ArgumentParser StringExtensions.swift
[41/126] Compiling ArgumentParser Tree.swift
[42/126] Emitting module ArgumentParser
[43/126] Compiling ArgumentParser ParsableArguments.swift
[44/126] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/126] Compiling ArgumentParser ParsableCommand.swift
[46/126] Compiling ArgumentParser ArgumentDecoder.swift
[47/126] Compiling ArgumentParser ArgumentDefinition.swift
[48/126] Compiling ArgumentParser ArgumentSet.swift
[49/126] Compiling ArgumentParser CommandParser.swift
[50/126] Compiling ArgumentParser InputKey.swift
[51/126] Emitting module OpenAI
[54/131] Emitting module Rainbow
[55/131] Compiling SwiftStringCatalog PluralQualifier.swift
[56/131] Compiling Rainbow OutputTarget.swift
[57/131] Compiling Rainbow ModesExtractor.swift
[58/131] Compiling Rainbow ControlCode.swift
[59/131] Compiling Rainbow ColorApproximation.swift
[60/131] Compiling Rainbow Color.swift
[61/131] Compiling Rainbow Rainbow.swift
[76/131] Compiling SwiftStringCatalog LocalizableStringConstructor.swift
[77/131] Emitting module SwiftStringCatalog
[84/131] Compiling ArgumentParser MessageInfo.swift
[85/131] Compiling ArgumentParser UsageGenerator.swift
[86/131] Compiling ArgumentParser CollectionExtensions.swift
[92/131] Compiling ArgumentParser ParserError.swift
[93/131] Compiling ArgumentParser SplitArguments.swift
[94/131] Compiling ArgumentParser DumpHelpGenerator.swift
[95/131] Compiling ArgumentParser HelpCommand.swift
[100/131] Compiling ArgumentParser HelpGenerator.swift
[106/131] Compiling SwiftStringCatalog CodableKeyDictionary.swift
[125/131] Compiling OpenAI OpenAIProtocol+Combine.swift
[126/131] Compiling OpenAI OpenAIProtocol.swift
[127/131] Compiling OpenAI ArrayWithThreadSafety.swift
[128/131] Compiling OpenAI Utilities.swift
[129/144] Compiling swift_translate TranslationService.swift
[130/145] Compiling swift_translate OpenAITranslator.swift
[131/145] Compiling swift_translate TranslationServiceArgument.swift
[132/145] Compiling swift_translate GoogleTranslator.swift
[133/145] Compiling swift_translate FileTranslator.swift
[134/145] Emitting module swift_translate
[135/145] Compiling swift_translate SwiftTranslateError.swift
[136/145] Compiling swift_translate Log.swift
[137/145] Compiling swift_translate TranslationCoordinator.swift
[138/145] Compiling swift_translate SwiftStringCatalog+SwiftTranslate.swift
[139/145] Compiling swift_translate SwiftTranslate.swift
[140/145] Compiling swift_translate TranslatableFileFinder.swift
[141/145] Compiling swift_translate StringCatalogTranslator.swift
[142/145] Compiling swift_translate OpenAIModel.swift
[142/145] Write Objects.LinkFileList
[143/145] Linking swift-translate
[144/145] Applying swift-translate
Build complete! (28.61s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "openai",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MacPaw/OpenAI.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    }
  ],
  "manifest_display_name" : "SwiftTranslate",
  "name" : "SwiftTranslate",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftTranslate",
      "targets" : [
        "SwiftTranslate"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "swift-translate",
      "targets" : [
        "swift-translate"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftStringCatalog",
      "targets" : [
        "SwiftStringCatalog"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_translate",
      "module_type" : "SwiftTarget",
      "name" : "swift-translate",
      "path" : "Sources/SwiftTranslate",
      "product_dependencies" : [
        "ArgumentParser",
        "OpenAI",
        "Rainbow"
      ],
      "product_memberships" : [
        "SwiftTranslate",
        "swift-translate"
      ],
      "sources" : [
        "Bootstrap/SwiftTranslate.swift",
        "Bootstrap/TranslatableFileFinder.swift",
        "Bootstrap/TranslationCoordinator.swift",
        "Extensions/SwiftStringCatalog+SwiftTranslate.swift",
        "FileTranslators/StringCatalogTranslator.swift",
        "Models/OpenAIModel.swift",
        "Models/SwiftTranslateError.swift",
        "Models/TranslationServiceArgument.swift",
        "Protocols/FileTranslator.swift",
        "Protocols/TranslationService.swift",
        "TranslationServices/GoogleTranslator.swift",
        "TranslationServices/OpenAITranslator.swift",
        "Utilities/Log.swift"
      ],
      "target_dependencies" : [
        "SwiftStringCatalog"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftTranslate",
      "module_type" : "PluginTarget",
      "name" : "SwiftTranslate",
      "path" : "Plugins/SwiftTranslate",
      "plugin_capability" : {
        "intent" : {
          "description" : "Translates project String Catalogs using OpenAI's GPT 3.5 model",
          "type" : "custom",
          "verb" : "swift-translate"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Translates string catalogs in your project",
            "type" : "writeToPackageDirectory"
          },
          {
            "network_scope" : {
              "all" : {
                "ports" : [
                ]
              }
            },
            "reason" : "Needs access to OpenAI servers",
            "type" : "allowNetworkConnections"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "SwiftTranslate"
      ],
      "sources" : [
        "SwiftTranslate.swift",
        "SwiftTranslateError.swift"
      ],
      "target_dependencies" : [
        "swift-translate"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "SwiftStringCatalogTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftStringCatalogTests",
      "path" : "Tests/SwiftStringCatalogTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftStringCatalogTests/Resources/BasicCatalog.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Models/StringCatalogTests.swift"
      ],
      "target_dependencies" : [
        "SwiftStringCatalog"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftStringCatalog",
      "module_type" : "SwiftTarget",
      "name" : "SwiftStringCatalog",
      "path" : "Sources/SwiftStringCatalog",
      "product_memberships" : [
        "SwiftTranslate",
        "swift-translate",
        "SwiftStringCatalog"
      ],
      "sources" : [
        "Bootstrap/StringCatalog.swift",
        "Extensions/LocalizableString+Lookup.swift",
        "Models/DeviceCategory.swift",
        "Models/ExtractionState.swift",
        "Models/Language.swift",
        "Models/LocalizableString.swift",
        "Models/LocalizableStringGroup.swift",
        "Models/TranslationState.swift",
        "Models/_CatalogEntry.swift",
        "Models/_Localization.swift",
        "Models/_StringCatalog.swift",
        "Models/_StringUnit.swift",
        "Models/_Substitution.swift",
        "Models/_Variations.swift",
        "Protocols/LocalizableStringConstructor.swift",
        "Protocols/PluralQualifier.swift",
        "Utilities/CodableKeyDictionary.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.