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.9 for macOS (SPM) on 8 Feb 2025 11:43:05 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.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.9
Building package at path:  $PWD
https://github.com/Peek-Travel/swift-currency.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/7] Compiling ISOStandardCodegen main.swift
[2/7] Compiling ISOStandardCodegen Codegen+DefinitionParsing.swift
[3/7] Compiling ISOStandardCodegen Codegen+FileHeader.swift
[4/7] Compiling ISOStandardCodegen Codegen+CurrencyDefinitions.swift
[5/7] Emitting module ISOStandardCodegen
[6/7] Compiling ISOStandardCodegen Codegen+MintLookup.swift
[6/7] Linking ISOStandardCodegen
Build complete! (3.16s)
[1/1] Compiling plugin ISOStandardCodegenPlugin
Building for debugging...
[1/9] Generating ISO Standard currency support code
[3/20] Compiling Currency Sequence+Currency.swift
[4/21] Compiling Currency CurrencyMint+ISOCurrencyLookup.swift
[5/21] Compiling Currency CurrencyDescriptor.swift
[6/21] Compiling Currency CurrencyMint.swift
[7/21] Emitting module Currency
[8/21] Compiling Currency CurrencyValue.swift
[9/21] Compiling Currency CurrencyValue+Algorithms.swift
[10/21] Compiling Currency CurrencyValue+StringRepresentation.swift
[11/21] Compiling ISOStandardCodegen main.swift
[12/21] Compiling ISOStandardCodegen Codegen+DefinitionParsing.swift
[13/21] Compiling ISOStandardCodegen Codegen+FileHeader.swift
[14/21] Compiling ISOStandardCodegen Codegen+CurrencyDefinitions.swift
[15/21] Emitting module ISOStandardCodegen
[16/21] Compiling ISOStandardCodegen Codegen+MintLookup.swift
[16/21] Linking ISOStandardCodegen
[18/21] Compiling Currency MinorUnitRepresentation.swift
[19/21] Compiling Currency Decimal.swift
[20/21] Compiling Currency CurrencyValue+Arithmetic.swift
[21/21] Compiling Currency ISOCurrencies.swift
Build complete! (12.55s)
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.