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 MonetaryExchange, reference 1.0.1 (a64a77), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 05:30:49 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/SoftwareEngineerChris/MonetaryExchange.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SoftwareEngineerChris/MonetaryExchange
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at a64a774 Adds MIT license
Cloned https://github.com/SoftwareEngineerChris/MonetaryExchange.git
Revision (git rev-parse @):
a64a77495521b43e1780b34515fc8c6bcbd757fb
SUCCESS checkout https://github.com/SoftwareEngineerChris/MonetaryExchange.git at 1.0.1
Fetching https://github.com/SoftwareEngineerChris/MonetaryAmount.git
[1/154] Fetching monetaryamount
Fetched https://github.com/SoftwareEngineerChris/MonetaryAmount.git from cache (0.89s)
Computing version for https://github.com/SoftwareEngineerChris/MonetaryAmount.git
Computed https://github.com/SoftwareEngineerChris/MonetaryAmount.git at 1.1.1 (0.69s)
Fetching https://github.com/SoftwareEngineerChris/Consolidate.git
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/SoftwareEngineerChris/RoundedDecimal.git
[1/214] Fetching roundeddecimal
[29/355] Fetching roundeddecimal, consolidate
[78/5544] Fetching roundeddecimal, consolidate, stencil
Fetched https://github.com/SoftwareEngineerChris/RoundedDecimal.git from cache (0.71s)
[204/5330] Fetching consolidate, stencil
Fetched https://github.com/SoftwareEngineerChris/Consolidate.git from cache (1.12s)
Fetched https://github.com/stencilproject/Stencil.git from cache (1.12s)
Computing version for https://github.com/SoftwareEngineerChris/Consolidate.git
Computed https://github.com/SoftwareEngineerChris/Consolidate.git at 1.2.1 (0.69s)
Computing version for https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Computed https://github.com/SoftwareEngineerChris/RoundedDecimal.git at 2.2.2 (0.77s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.93s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[165/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.95s)
Fetched https://github.com/kylef/Spectre.git from cache (0.95s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.64s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.60s)
Creating working copy for https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Working copy of https://github.com/SoftwareEngineerChris/RoundedDecimal.git resolved at 2.2.2
Creating working copy for https://github.com/SoftwareEngineerChris/MonetaryAmount.git
Working copy of https://github.com/SoftwareEngineerChris/MonetaryAmount.git resolved at 1.1.1
Creating working copy for https://github.com/SoftwareEngineerChris/Consolidate.git
Working copy of https://github.com/SoftwareEngineerChris/Consolidate.git resolved at 1.2.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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": "monetaryexchange",
      "name": "MonetaryExchange",
      "url": "https://github.com/SoftwareEngineerChris/MonetaryExchange.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MonetaryExchange",
      "dependencies": [
        {
          "identity": "monetaryamount",
          "name": "MonetaryAmount",
          "url": "https://github.com/SoftwareEngineerChris/MonetaryAmount.git",
          "version": "1.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MonetaryAmount",
          "dependencies": [
            {
              "identity": "roundeddecimal",
              "name": "RoundedDecimal",
              "url": "https://github.com/SoftwareEngineerChris/RoundedDecimal.git",
              "version": "2.2.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RoundedDecimal",
              "dependencies": [
              ]
            },
            {
              "identity": "consolidate",
              "name": "Consolidate",
              "url": "https://github.com/SoftwareEngineerChris/Consolidate.git",
              "version": "1.2.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Consolidate",
              "dependencies": [
              ]
            },
            {
              "identity": "stencil",
              "name": "Stencil",
              "url": "https://github.com/stencilproject/Stencil.git",
              "version": "0.15.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Stencil",
              "dependencies": [
                {
                  "identity": "pathkit",
                  "name": "PathKit",
                  "url": "https://github.com/kylef/PathKit.git",
                  "version": "1.0.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
                  "dependencies": [
                    {
                      "identity": "spectre",
                      "name": "Spectre",
                      "url": "https://github.com/kylef/Spectre.git",
                      "version": "0.10.1",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
                      "dependencies": [
                      ]
                    }
                  ]
                },
                {
                  "identity": "spectre",
                  "name": "Spectre",
                  "url": "https://github.com/kylef/Spectre.git",
                  "version": "0.10.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/SoftwareEngineerChris/MonetaryExchange.git
[1/159] Fetching monetaryexchange
Fetched https://github.com/SoftwareEngineerChris/MonetaryExchange.git from cache (0.87s)
Fetching https://github.com/SoftwareEngineerChris/MonetaryAmount.git from cache
Fetched https://github.com/SoftwareEngineerChris/MonetaryAmount.git from cache (0.49s)
Computing version for https://github.com/SoftwareEngineerChris/MonetaryAmount.git
Computed https://github.com/SoftwareEngineerChris/MonetaryAmount.git at 1.1.1 (0.03s)
Fetching https://github.com/SoftwareEngineerChris/Consolidate.git from cache
Fetching https://github.com/SoftwareEngineerChris/RoundedDecimal.git from cache
Fetching https://github.com/stencilproject/Stencil.git from cache
Fetched https://github.com/SoftwareEngineerChris/Consolidate.git from cache (0.55s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.56s)
Fetched https://github.com/SoftwareEngineerChris/RoundedDecimal.git from cache (0.56s)
Computing version for https://github.com/SoftwareEngineerChris/Consolidate.git
Computed https://github.com/SoftwareEngineerChris/Consolidate.git at 1.2.1 (0.03s)
Computing version for https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Computed https://github.com/SoftwareEngineerChris/RoundedDecimal.git at 2.2.2 (0.03s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.03s)
Fetching https://github.com/kylef/PathKit.git from cache
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/PathKit.git from cache (0.49s)
Fetched https://github.com/kylef/Spectre.git from cache (0.49s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.03s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.02s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/SoftwareEngineerChris/Consolidate.git
Working copy of https://github.com/SoftwareEngineerChris/Consolidate.git resolved at 1.2.1
Creating working copy for https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Working copy of https://github.com/SoftwareEngineerChris/RoundedDecimal.git resolved at 2.2.2
Creating working copy for https://github.com/SoftwareEngineerChris/MonetaryExchange.git
Working copy of https://github.com/SoftwareEngineerChris/MonetaryExchange.git resolved at 1.0.1 (a64a774)
Creating working copy for https://github.com/SoftwareEngineerChris/MonetaryAmount.git
Working copy of https://github.com/SoftwareEngineerChris/MonetaryAmount.git resolved at 1.1.1
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
warning: '.resolve-product-dependencies': dependency 'monetaryexchange' is not used by any target
Found 1 product dependencies
  - MonetaryAmount
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SoftwareEngineerChris/MonetaryExchange.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/14] Write sources
[5/14] Write swift-version--7754E27361AE5C74.txt
[7/21] Emitting module RoundedDecimal
[8/21] Emitting module Consolidate
[9/21] Compiling Consolidate Consolidatable.swift
[9/21] Write Objects.LinkFileList
[11/21] Compiling RoundedDecimal RoundedDecimal.swift
[11/21] Archiving libConsolidate.a
[13/21] Compiling RoundedDecimal DecimalTypes.swift
[14/21] Compiling RoundedDecimal DynamicRoundedDecimal.swift
[15/21] Compiling RoundedDecimal Decimal+Rounding.swift
[15/21] Write Objects.LinkFileList
[16/21] Archiving libRoundedDecimal.a
[18/30] Compiling MonetaryAmount MonetaryAmount+Arithmetic.swift
[19/30] Compiling MonetaryAmount MonetaryAmount+Negation.swift
[20/30] Compiling MonetaryAmount MonetaryAmount+Consolidation.swift
[21/30] Compiling MonetaryAmount NumberFormatter+Currency.swift
[22/30] Compiling MonetaryAmount MonetaryAmount+Construction.swift
[23/30] Compiling MonetaryAmount MonetaryAmount.swift
[24/30] Compiling MonetaryAmount Currency.swift
[25/30] Compiling MonetaryAmount Currencies+Generated.swift
[26/30] Emitting module MonetaryAmount
[26/30] Write Objects.LinkFileList
[27/30] Archiving libMonetaryAmount.a
[29/33] Compiling MonetaryExchange MonetaryExchange+Fixer.swift
/Users/admin/builder/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:77:28: warning: capture of 'completion' with non-sendable type 'Exchange.Fixer.FixerCompletion' (aka '(Result<Exchange, Exchange.Fixer.FixerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 75 |             let dataTask = session.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
 76 |                 if let error = error {
 77 |                     return completion(.failure(.requestFailure(underlyingError: error)))
    |                            |- warning: capture of 'completion' with non-sendable type 'Exchange.Fixer.FixerCompletion' (aka '(Result<Exchange, Exchange.Fixer.FixerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 78 |                 }
 79 |
[30/33] Compiling MonetaryExchange MonetaryExchange.swift
[31/33] Emitting module MonetaryExchange
[31/33] Write Objects.LinkFileList
[32/33] Archiving libMonetaryExchange.a
[34/35] Emitting module MonetaryExchangeSample
[35/35] Compiling MonetaryExchangeSample Sample.swift
Build complete! (12.01s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "monetaryamount",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SoftwareEngineerChris/MonetaryAmount.git"
    }
  ],
  "manifest_display_name" : "MonetaryExchange",
  "name" : "MonetaryExchange",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MonetaryExchange",
      "targets" : [
        "MonetaryExchange"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MonetaryExchangeTests",
      "module_type" : "SwiftTarget",
      "name" : "MonetaryExchangeTests",
      "path" : "Tests/MonetaryExchangeTests",
      "sources" : [
        "MonetaryExchange+FixerTests.swift",
        "MonetaryExchangeTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "MonetaryExchange",
        "MonetaryExchangeSample"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MonetaryExchangeSample",
      "module_type" : "SwiftTarget",
      "name" : "MonetaryExchangeSample",
      "path" : "Sources/MonetaryExchangeSample",
      "sources" : [
        "Sample.swift"
      ],
      "target_dependencies" : [
        "MonetaryExchange"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MonetaryExchange",
      "module_type" : "SwiftTarget",
      "name" : "MonetaryExchange",
      "path" : "Sources/MonetaryExchange",
      "product_dependencies" : [
        "MonetaryAmount"
      ],
      "product_memberships" : [
        "MonetaryExchange"
      ],
      "sources" : [
        "MonetaryExchange+Fixer.swift",
        "MonetaryExchange.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.