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 6.0 for Linux on 8 Feb 2025 11:42:14 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

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 /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
 * 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:         linux
Swift version:             6.0
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" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/11] Emitting module ISOStandardCodegen
[4/11] Compiling ISOStandardCodegen Codegen+DefinitionParsing.swift
[5/11] Compiling ISOStandardCodegen Codegen+CurrencyDefinitions.swift
[6/11] Compiling ISOStandardCodegen Codegen+FileHeader.swift
[7/11] Compiling ISOStandardCodegen Codegen+MintLookup.swift
[8/11] Compiling ISOStandardCodegen main.swift
[9/12] Wrapping AST for ISOStandardCodegen for debugging
[10/12] Write Objects.LinkFileList
[11/12] Linking ISOStandardCodegen-tool
Build of product 'ISOStandardCodegen' complete! (8.85s)
[1/1] Compiling plugin ISOStandardCodegenPlugin
Building for debugging...
[1/8] Write sources
[2/8] Generating ISO Standard currency support code
[3/8] Write swift-version-24593BA9C3E375BF.txt
[4/8] Write sources
[6/25] Compiling Currency Sequence+Currency.swift
[7/25] Compiling Currency MinorUnitRepresentation.swift
[8/26] Compiling Currency CurrencyMint+ISOCurrencyLookup.swift
[9/26] Emitting module ISOStandardCodegen
[10/26] Compiling ISOStandardCodegen Codegen+FileHeader.swift
[11/26] Compiling ISOStandardCodegen Codegen+CurrencyDefinitions.swift
[12/26] Compiling ISOStandardCodegen Codegen+DefinitionParsing.swift
[13/26] Compiling ISOStandardCodegen Codegen+MintLookup.swift
[14/26] Compiling ISOStandardCodegen main.swift
[15/27] Compiling Currency Decimal.swift
[17/27] Emitting module Currency
[18/27] Compiling Currency CurrencyDescriptor.swift
[19/27] Compiling Currency CurrencyMint.swift
[20/27] Compiling Currency CurrencyValue+Algorithms.swift
[21/27] Compiling Currency CurrencyValue+Arithmetic.swift
[22/27] Compiling Currency CurrencyValue+StringRepresentation.swift
[23/27] Compiling Currency CurrencyValue.swift
[23/27] Wrapping AST for ISOStandardCodegen for debugging
[24/27] Write Objects.LinkFileList
[25/27] Linking ISOStandardCodegen
[27/27] Compiling Currency ISOCurrencies.swift
Build complete! (26.08s)
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" : "6.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.