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-currency, reference main (160edc), with Swift 5.10 for macOS (SPM) on 8 Feb 2025 11:42:12 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Peek-Travel/swift-currency.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Peek-Travel/swift-currency
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 160edc9 Add explicit support for Swift 6
Cloned https://github.com/Peek-Travel/swift-currency.git
Revision (git rev-parse @):
160edc9f52266dd9356550c5e1f71b60c9e2d8ef
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Peek-Travel/swift-currency.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Peek-Travel/swift-currency.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[1/6] Write ISOStandardCodegen-entitlement.plist
[2/6] Write swift-version-33747A42983211AE.txt
[4/12] Compiling ISOStandardCodegen main.swift
[5/12] Compiling ISOStandardCodegen Codegen+FileHeader.swift
[6/12] Compiling ISOStandardCodegen Codegen+MintLookup.swift
[7/12] Emitting module ISOStandardCodegen
[8/12] Compiling ISOStandardCodegen Codegen+DefinitionParsing.swift
[9/12] Compiling ISOStandardCodegen Codegen+CurrencyDefinitions.swift
[9/12] Write Objects.LinkFileList
[10/12] Linking ISOStandardCodegen
[11/12] Applying ISOStandardCodegen
Build complete! (3.25s)
[1/1] Compiling plugin ISOStandardCodegenPlugin
Building for debugging...
[1/9] Write sources
[1/9] Write ISOStandardCodegen-entitlement.plist
[3/9] Write swift-version-33747A42983211AE.txt
[4/9] Generating ISO Standard currency support code
[5/9] Write sources
[7/26] Compiling Currency CurrencyValue+Algorithms.swift
[8/27] Compiling Currency CurrencyDescriptor.swift
[9/27] Compiling Currency CurrencyMint.swift
[10/27] Emitting module Currency
[11/27] Compiling ISOStandardCodegen main.swift
[12/27] Compiling ISOStandardCodegen Codegen+FileHeader.swift
[13/27] Compiling ISOStandardCodegen Codegen+MintLookup.swift
[14/27] Compiling ISOStandardCodegen Codegen+CurrencyDefinitions.swift
[15/27] Emitting module ISOStandardCodegen
[16/27] Compiling ISOStandardCodegen Codegen+DefinitionParsing.swift
[17/27] Compiling Currency Sequence+Currency.swift
[18/27] Compiling Currency Decimal.swift
[19/27] Compiling Currency CurrencyValue+StringRepresentation.swift
[19/27] Write Objects.LinkFileList
[21/27] Compiling Currency CurrencyMint+ISOCurrencyLookup.swift
[21/27] Linking ISOStandardCodegen
[22/27] Applying ISOStandardCodegen
[24/27] Compiling Currency MinorUnitRepresentation.swift
[25/27] Compiling Currency CurrencyValue+Arithmetic.swift
[26/27] Compiling Currency CurrencyValue.swift
[27/27] Compiling Currency ISOCurrencies.swift
Build complete! (11.14s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-currency",
  "name" : "swift-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_memberships" : [
        "Currency",
        "ISOStandardCodegen"
      ],
      "sources" : [
        "Codegen+CurrencyDefinitions.swift",
        "Codegen+DefinitionParsing.swift",
        "Codegen+FileHeader.swift",
        "Codegen+MintLookup.swift",
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CurrencyTests",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyTests",
      "path" : "Tests/CurrencyTests",
      "sources" : [
        "CurrencyDescriptorTests.swift",
        "CurrencyMintTests.swift",
        "CurrencyValue+AlgorithmsTests.swift",
        "CurrencyValue+ArithmeticTests.swift",
        "CurrencyValue+StringRepresentationTests.swift",
        "CurrencyValueTests.swift",
        "Sequence+CurrencyTests.swift"
      ],
      "target_dependencies" : [
        "Currency"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Currency",
      "module_type" : "SwiftTarget",
      "name" : "Currency",
      "path" : "Sources/Currency",
      "product_memberships" : [
        "Currency"
      ],
      "sources" : [
        "CurrencyDescriptor.swift",
        "CurrencyMint.swift",
        "CurrencyValue+Algorithms.swift",
        "CurrencyValue+Arithmetic.swift",
        "CurrencyValue+StringRepresentation.swift",
        "CurrencyValue.swift",
        "Extensions/Decimal.swift",
        "Extensions/Sequence+Currency.swift",
        "MinorUnitRepresentation.swift"
      ],
      "target_dependencies" : [
        "ISOStandardCodegenPlugin"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.