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 Currency, reference master (ab3dd4), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 18:34:18 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/Peek-Travel/swift-currency.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Peek-Travel/swift-currency
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ab3dd40 [Misc] Cleanup GitHub workflow for Jazzy docs
Cloned https://github.com/Peek-Travel/swift-currency.git
Revision (git rev-parse @):
ab3dd40ee17621b228ccb7f35633bec35b7374e4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Peek-Travel/swift-currency.git at master
Fetching https://github.com/swiftcsv/SwiftCSV.git
[1/1780] Fetching swiftcsv
Fetched https://github.com/swiftcsv/SwiftCSV.git from cache (0.98s)
Computing version for https://github.com/swiftcsv/SwiftCSV.git
Computed https://github.com/swiftcsv/SwiftCSV.git at 0.10.0 (0.65s)
Creating working copy for https://github.com/swiftcsv/SwiftCSV.git
Working copy of https://github.com/swiftcsv/SwiftCSV.git resolved at 0.10.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-currency",
      "name": "Currency",
      "url": "https://github.com/Peek-Travel/swift-currency.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-currency",
      "dependencies": [
        {
          "identity": "swiftcsv",
          "name": "SwiftCSV",
          "url": "https://github.com/swiftcsv/SwiftCSV.git",
          "version": "0.10.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCSV",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Peek-Travel/swift-currency.git
[1/650] Fetching swift-currency
Fetched https://github.com/Peek-Travel/swift-currency.git from cache (0.84s)
Fetching https://github.com/swiftcsv/SwiftCSV.git from cache
Fetched https://github.com/swiftcsv/SwiftCSV.git from cache (0.49s)
Computing version for https://github.com/swiftcsv/SwiftCSV.git
Computed https://github.com/swiftcsv/SwiftCSV.git at 0.10.0 (0.02s)
Creating working copy for https://github.com/swiftcsv/SwiftCSV.git
Working copy of https://github.com/swiftcsv/SwiftCSV.git resolved at 0.10.0
Creating working copy for https://github.com/Peek-Travel/swift-currency.git
Working copy of https://github.com/Peek-Travel/swift-currency.git resolved at master (ab3dd40)
Found 1 product dependencies
  - SwiftCSV
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Peek-Travel/swift-currency.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
Building for debugging...
[0/8] Write sources
[2/8] Copying PrivacyInfo.xcprivacy
[3/8] Write ISOStandardCodegen-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/18] Compiling SwiftCSV ParsingState.swift
[7/18] Compiling SwiftCSV Serializer.swift
[8/18] Compiling SwiftCSV String+Lines.swift
[9/18] Compiling SwiftCSV Parser.swift
[10/19] Compiling SwiftCSV CSV.swift
[11/19] Compiling SwiftCSV NamedCSVView.swift
[12/19] Compiling SwiftCSV CSVDelimiter.swift
[13/19] Emitting module SwiftCSV
[14/19] Compiling SwiftCSV EnumeratedCSVView.swift
[15/19] Compiling SwiftCSV CSV+DelimiterGuessing.swift
[16/19] Compiling SwiftCSV resource_bundle_accessor.swift
[17/26] Compiling ISOStandardCodegen ProcessingError.swift
[18/26] Compiling ISOStandardCodegen main.swift
[19/26] Compiling ISOStandardCodegen ISOCurrencyGeneration.swift
[20/26] Compiling ISOStandardCodegen FileContentWrapping.swift
[21/26] Emitting module ISOStandardCodegen
[22/26] Compiling ISOStandardCodegen CSVParsing.swift
[23/26] Compiling ISOStandardCodegen MintISOSupportGeneration.swift
[23/26] Write Objects.LinkFileList
[24/26] Linking ISOStandardCodegen-tool
[25/26] Applying ISOStandardCodegen-tool
Build of product 'ISOStandardCodegen' complete! (12.15s)
[1/1] Compiling plugin ISOStandardCodegenPlugin
Building for debugging...
[1/11] Write sources
[2/11] Write ISOStandardCodegen-entitlement.plist
[4/11] Copying PrivacyInfo.xcprivacy
[5/11] Write swift-version--7754E27361AE5C74.txt
[6/11] Generating ISO Standard currency support code
[7/11] Write sources
[9/31] Compiling SwiftCSV NamedCSVView.swift
[10/32] Compiling Currency CurrencyMint+ISOCurrencies.swift
[11/32] Compiling SwiftCSV resource_bundle_accessor.swift
[12/32] Compiling SwiftCSV CSVDelimiter.swift
[13/32] Compiling SwiftCSV EnumeratedCSVView.swift
[14/32] Compiling SwiftCSV ParsingState.swift
[15/32] Compiling SwiftCSV Parser.swift
[16/32] Compiling Currency Decimal.swift
[17/32] Compiling SwiftCSV Serializer.swift
[18/32] Compiling SwiftCSV String+Lines.swift
[19/32] Compiling SwiftCSV CSV.swift
[20/32] Emitting module SwiftCSV
[21/32] Compiling SwiftCSV CSV+DelimiterGuessing.swift
[22/32] Compiling Currency CurrencyProtocol.swift
[23/32] Compiling Currency CurrencyMint.swift
[24/32] Compiling Currency CurrencyMetadata.swift
[25/32] Emitting module Currency
[26/32] Compiling Currency AnyCurrency+Sequence.swift
[27/32] Compiling Currency AnyCurrency.swift
[28/32] Compiling Currency AnyCurrency+Algorithms.swift
[29/39] Compiling Currency ISOCurrencies.swift
[30/39] Compiling ISOStandardCodegen FileContentWrapping.swift
[31/39] Emitting module ISOStandardCodegen
[32/39] Compiling ISOStandardCodegen ISOCurrencyGeneration.swift
[33/39] Compiling ISOStandardCodegen main.swift
[34/39] Compiling ISOStandardCodegen ProcessingError.swift
[35/39] Compiling ISOStandardCodegen CSVParsing.swift
[36/39] Compiling ISOStandardCodegen MintISOSupportGeneration.swift
[36/39] Write Objects.LinkFileList
[37/39] Linking ISOStandardCodegen
[38/39] Applying ISOStandardCodegen
Build complete! (42.84s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftcsv",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftcsv/SwiftCSV.git"
    }
  ],
  "manifest_display_name" : "Currency",
  "name" : "Currency",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Currency",
      "targets" : [
        "Currency"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ISOStandardCodegen",
      "targets" : [
        "ISOStandardCodegen"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ISOStandardCodegenPlugin",
      "module_type" : "PluginTarget",
      "name" : "ISOStandardCodegenPlugin",
      "path" : "Plugins/ISOStandardCodegenPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "Currency"
      ],
      "sources" : [
        "plugin.swift"
      ],
      "target_dependencies" : [
        "ISOStandardCodegen"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "ISOStandardCodegen",
      "module_type" : "SwiftTarget",
      "name" : "ISOStandardCodegen",
      "path" : "Sources/ISOStandardCodegen",
      "product_dependencies" : [
        "SwiftCSV"
      ],
      "product_memberships" : [
        "Currency",
        "ISOStandardCodegen"
      ],
      "sources" : [
        "CSVParsing.swift",
        "FileContentWrapping.swift",
        "ISOCurrencyGeneration.swift",
        "MintISOSupportGeneration.swift",
        "ProcessingError.swift",
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CurrencyTests",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyTests",
      "path" : "Tests/CurrencyTests",
      "sources" : [
        "AnyCurrencyAlgorithmsTests.swift",
        "AnyCurrencyTests.swift",
        "CurrencyMintTests.swift"
      ],
      "target_dependencies" : [
        "Currency"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Currency",
      "module_type" : "SwiftTarget",
      "name" : "Currency",
      "path" : "Sources/Currency",
      "product_memberships" : [
        "Currency"
      ],
      "sources" : [
        "AnyCurrency+Algorithms.swift",
        "AnyCurrency+Sequence.swift",
        "AnyCurrency.swift",
        "CurrencyMetadata.swift",
        "CurrencyMint.swift",
        "CurrencyProtocol.swift",
        "Extensions/Decimal.swift"
      ],
      "target_dependencies" : [
        "ISOStandardCodegenPlugin"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/peek-travel/swift-currency/master
Repository:               Peek-Travel/swift-currency
Swift version used:       6.0
Target:                   Currency
Extracting symbol information for 'Currency'...
Finished extracting symbol information for 'Currency'. (4.60s)
Building documentation for 'Currency'...
warning: External name 'minorUnits' used to document parameter
  --> ../CurrencyMint.swift:84:11-84:21
82 |   /// - Parameters:
83 |   ///   - identifier: The identifier of the currency to be created.
84 +   ///   - minorUnits: The quantity of minor units the currency value should represent. The default is `0`.
   |           ╰─suggestion: Replace 'minorUnits' with 'value'
85 |   /// - Returns: An instance of a currency that matches the provided identifier with the desired amount; otherwise `nil`.
86 |   public func make(identifier: CurrencyIdentifier, minorUnits value: Int64 = .zero) -> AnyCurrency? {
warning: External name 'amount' used to document parameter
  --> ../CurrencyMint.swift:94:11-94:17
92 |   /// - Parameters:
93 |   ///   - identifier: The identifier of the currency to be created.
94 +   ///   - amount: The amount the currency value should represent.
   |           ╰─suggestion: Replace 'amount' with 'value'
95 |   /// - Returns: An instance of a currency that matches the provided identifier with the desired amount; otherwise `nil`.
96 |   public func make(identifier: CurrencyIdentifier, amount value: Decimal) -> AnyCurrency? {Finished building documentation for 'Currency' (4.31s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/peek-travel/swift-currency/master
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/swiftcsv/SwiftCSV.git
Updated https://github.com/swiftcsv/SwiftCSV.git (0.48s)
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.28s)
Computing version for https://github.com/swiftcsv/SwiftCSV.git
Computed https://github.com/swiftcsv/SwiftCSV.git at 0.10.0 (0.72s)
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.22s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.66s)
Creating working copy for https://github.com/swiftlang/swift-docc-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/4] Write swift-version--7754E27361AE5C74.txt
[2/14] Compiling SwiftCSV ParsingState.swift
[3/14] Compiling SwiftCSV Serializer.swift
[4/14] Compiling SwiftCSV String+Lines.swift
[5/15] Compiling SwiftCSV NamedCSVView.swift
[6/15] Compiling SwiftCSV EnumeratedCSVView.swift
[7/15] Emitting module SwiftCSV
[8/15] Compiling SwiftCSV CSVDelimiter.swift
[9/15] Compiling SwiftCSV CSV.swift
[10/15] Compiling SwiftCSV CSV+DelimiterGuessing.swift
[11/15] Compiling SwiftCSV Parser.swift
[12/15] Compiling SwiftCSV resource_bundle_accessor.swift
[13/22] Compiling ISOStandardCodegen ProcessingError.swift
[14/22] Compiling ISOStandardCodegen main.swift
[15/22] Compiling ISOStandardCodegen FileContentWrapping.swift
[16/22] Compiling ISOStandardCodegen ISOCurrencyGeneration.swift
[17/22] Compiling ISOStandardCodegen CSVParsing.swift
[18/22] Emitting module ISOStandardCodegen
[19/22] Compiling ISOStandardCodegen MintISOSupportGeneration.swift
[19/21] Linking ISOStandardCodegen-tool
[20/21] Applying ISOStandardCodegen-tool
Build of product 'ISOStandardCodegen' complete! (1.87s)
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 SemanticVersion.swift
[12/57] Compiling SymbolKit AccessControl.swift
[13/57] Compiling SymbolKit Availability.swift
[14/57] Compiling SymbolKit AvailabilityItem.swift
[15/57] Compiling SymbolKit Domain.swift
[16/57] Compiling SymbolKit Names.swift
[17/57] Compiling SymbolKit SPI.swift
[18/57] Compiling SymbolKit Snippet.swift
[19/57] Compiling SymbolKit Extension.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 DeclarationFragments.swift
[26/57] Compiling SymbolKit Fragment.swift
[27/57] Compiling SymbolKit FragmentKind.swift
[28/57] Compiling SymbolKit FunctionParameter.swift
[29/57] Compiling SymbolKit FunctionSignature.swift
[30/57] Compiling SymbolKit Relationship.swift
[31/57] Compiling SymbolKit RelationshipKind.swift
[32/57] Compiling SymbolKit SourceOrigin.swift
[33/57] Compiling SymbolKit GenericConstraints.swift
[34/57] Compiling SymbolKit Swift.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 Identifier.swift
[41/57] Compiling SymbolKit KindIdentifier.swift
[42/57] Compiling SymbolKit Location.swift
[43/57] Compiling SymbolKit Mutability.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] Compiling Snippets SnippetParser.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (6.59s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'ISOStandardCodegen' complete! (0.17s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
[1/3] Generating ISO Standard currency support code
[2/3] Write sources
[4/13] Compiling Currency CurrencyMint.swift
[5/13] Compiling Currency CurrencyProtocol.swift
[6/13] Compiling Currency AnyCurrency+Algorithms.swift
[7/13] Compiling Currency AnyCurrency.swift
[8/13] Compiling Currency AnyCurrency+Sequence.swift
[9/13] Compiling Currency CurrencyMetadata.swift
[10/13] Compiling Currency Decimal.swift
[11/13] Emitting module Currency
[12/13] Compiling Currency CurrencyMint+ISOCurrencies.swift
[13/13] Compiling Currency ISOCurrencies.swift
Build of target: 'Currency' complete! (2.18s)
   19098
92	/Users/admin/builder/spi-builder-workspace/.docs/peek-travel/swift-currency/master
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/peek-travel/swift-currency/master
File count: 19098
Doc size:   92.0MB
Preparing doc bundle ...
Uploading prod-peek-travel-swift-currency-master-33b0cc17.zip to s3://spi-docs-inbox/prod-peek-travel-swift-currency-master-33b0cc17.zip
Copying... [10%]
Copying... [20%]
Copying... [30%]
Copying... [40%]
Copying... [50%]
Copying... [60%]
Copying... [70%]
Copying... [80%]
Copying... [90%]
Copying... [100%]
Done.