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 CurrencyConverter, reference master (cb7f44), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 20:54:41 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/flight-school/currencyconverter.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/flight-school/currencyconverter
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at cb7f44f Use GitHub Actions for CI/CD (#2)
Cloned https://github.com/flight-school/currencyconverter.git
Revision (git rev-parse @):
cb7f44ffeae81beb5dd9945dc5c118f177641775
SUCCESS checkout https://github.com/flight-school/currencyconverter.git at master
Fetching https://github.com/Flight-School/Money.git
[5/470] Fetching money
Fetched https://github.com/Flight-School/Money.git from cache (0.89s)
Computing version for https://github.com/Flight-School/Money.git
Computed https://github.com/Flight-School/Money.git at 1.0.1 (0.67s)
Creating working copy for https://github.com/Flight-School/Money.git
Working copy of https://github.com/Flight-School/Money.git resolved at 1.0.1
========================================
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": "currencyconverter",
      "name": "CurrencyConverter",
      "url": "https://github.com/flight-school/currencyconverter.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/currencyconverter",
      "dependencies": [
        {
          "identity": "money",
          "name": "Money",
          "url": "https://github.com/Flight-School/Money.git",
          "version": "1.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Money",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/flight-school/currencyconverter.git
[1/86] Fetching currencyconverter
Fetched https://github.com/flight-school/currencyconverter.git from cache (0.69s)
Fetching https://github.com/Flight-School/Money.git from cache
Fetched https://github.com/Flight-School/Money.git from cache (0.48s)
Computing version for https://github.com/Flight-School/Money.git
Computed https://github.com/Flight-School/Money.git at 1.4.0 (0.02s)
Creating working copy for https://github.com/Flight-School/Money.git
Working copy of https://github.com/Flight-School/Money.git resolved at 1.4.0
Creating working copy for https://github.com/flight-school/currencyconverter.git
Working copy of https://github.com/flight-school/currencyconverter.git resolved at master (cb7f44f)
warning: '.resolve-product-dependencies': dependency 'currencyconverter' is not used by any target
Found 1 product dependencies
  - Money
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/flight-school/currencyconverter.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/6] Emitting module Money
[5/6] Compiling Money Money.swift
[6/6] Compiling Money Currency.swift
[7/10] Compiling CurrencyConverter UnidirectionalCurrencyConverter.swift
[8/10] Emitting module CurrencyConverter
[9/10] Compiling CurrencyConverter CurrencyPair.swift
[10/10] Compiling CurrencyConverter BidirectionalCurrencyConverter.swift
Build complete! (6.70s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "money",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flight-School/Money.git"
    }
  ],
  "manifest_display_name" : "CurrencyConverter",
  "name" : "CurrencyConverter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CurrencyConverter",
      "targets" : [
        "CurrencyConverter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CurrencyConverterTests",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyConverterTests",
      "path" : "Tests/CurrencyConverterTests",
      "sources" : [
        "CurrenyPairTests.swift"
      ],
      "target_dependencies" : [
        "CurrencyConverter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CurrencyConverter",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyConverter",
      "path" : "Sources/CurrencyConverter",
      "product_dependencies" : [
        "Money"
      ],
      "product_memberships" : [
        "CurrencyConverter"
      ],
      "sources" : [
        "BidirectionalCurrencyConverter.swift",
        "CurrencyPair.swift",
        "UnidirectionalCurrencyConverter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
Done.