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 1.0.0 (8c4f9f), with Swift 6.1 for Linux on 30 Apr 2025 08:32:03 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Peek-Travel/swift-currency.git
Reference: 1.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Peek-Travel/swift-currency
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 8c4f9f2 Update README to properly reference upcoming 1.0 release
Cloned https://github.com/Peek-Travel/swift-currency.git
Revision (git rev-parse @):
8c4f9f2cbbad86556a23abb7ef1b9cc7169fecbe
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Peek-Travel/swift-currency.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Peek-Travel/swift-currency.git
https://github.com/Peek-Travel/swift-currency.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-currency",
  "name" : "swift-currency",
  "path" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling ISOStandardCodegen main.swift
[4/11] Compiling ISOStandardCodegen Codegen+MintLookup.swift
[5/11] Compiling ISOStandardCodegen Codegen+FileHeader.swift
[6/11] Emitting module ISOStandardCodegen
[7/11] Compiling ISOStandardCodegen Codegen+DefinitionParsing.swift
[8/11] Compiling ISOStandardCodegen Codegen+CurrencyDefinitions.swift
[9/12] Wrapping AST for ISOStandardCodegen for debugging
[10/12] Write Objects.LinkFileList
[11/12] Linking ISOStandardCodegen-tool
[1/1] Compiling plugin ISOStandardCodegenPlugin
Building for debugging...
[1/12] Write sources
[3/12] Write swift-version-24593BA9C3E375BF.txt
[5/19] Compiling ISOStandardCodegen main.swift
[6/19] Emitting module ISOStandardCodegen
[7/20] Compiling ISOStandardCodegen Codegen+CurrencyDefinitions.swift
[8/20] Emitting module ISOStandardCodegen
[9/20] Compiling ISOStandardCodegen Codegen+DefinitionParsing.swift
[10/20] Compiling ISOStandardCodegen Codegen+FileHeader.swift
[11/20] Compiling ISOStandardCodegen Codegen+MintLookup.swift
[13/21] Wrapping AST for ISOStandardCodegen for debugging
[14/21] Write Objects.LinkFileList
[15/21] Wrapping AST for ISOStandardCodegen for debugging
[16/21] Write Objects.LinkFileList
[17/21] Linking ISOStandardCodegen-tool
[18/21] Linking ISOStandardCodegen
[19/21] Generating ISO Standard currency support code
[20/21] Write sources
[22/32] Compiling Currency Decimal.swift
[23/33] Compiling Currency CurrencyValue+StringRepresentation.swift
[24/33] Compiling Currency CurrencyValue.swift
[25/33] Compiling Currency CurrencyValue+Algorithms.swift
[26/33] Compiling Currency CurrencyValue+Arithmetic.swift
[27/33] Compiling Currency CurrencyMint+ISOCurrencyLookup.swift
[28/33] Compiling Currency CurrencyDescriptor.swift
[29/33] Compiling Currency CurrencyMint.swift
[30/33] Emitting module Currency
[31/33] Compiling Currency MinorUnitRepresentation.swift
[32/33] Compiling Currency Sequence+Currency.swift
[33/33] Compiling Currency ISOCurrencies.swift
Build complete! (19.54s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-currency",
  "name" : "swift-currency",
  "path" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.