This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SoftwareEngineerChris/MonetaryExchange.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SoftwareEngineerChris/MonetaryExchange
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 16bfe2a Create swift.yml
Cloned https://github.com/SoftwareEngineerChris/MonetaryExchange.git
Revision (git rev-parse @):
16bfe2add18da06b1b3110b5d0281e05bd4566c7
SUCCESS checkout https://github.com/SoftwareEngineerChris/MonetaryExchange.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/SoftwareEngineerChris/MonetaryExchange.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/16] Write sources
[5/16] Write swift-version-6F35C1178C84523A.txt
[7/23] Emitting module RoundedDecimal
[8/23] Compiling RoundedDecimal RoundedDecimal.swift
[9/23] Compiling RoundedDecimal DynamicRoundedDecimal.swift
[10/23] Compiling RoundedDecimal DecimalTypes.swift
[11/23] Compiling RoundedDecimal Decimal+Rounding.swift
[11/23] Write Objects.LinkFileList
[12/23] Archiving libRoundedDecimal.a
[14/23] Compiling Consolidate Consolidatable.swift
[15/23] Emitting module Consolidate
[15/23] Write Objects.LinkFileList
[16/23] Archiving libConsolidate.a
[18/32] Compiling MonetaryAmount MonetaryAmount.swift
[19/32] Compiling MonetaryAmount NumberFormatter+Currency.swift
[20/32] Compiling MonetaryAmount MonetaryAmount+Consolidation.swift
[21/32] Compiling MonetaryAmount MonetaryAmount+Negation.swift
[22/32] Compiling MonetaryAmount MonetaryAmount+Arithmetic.swift
[23/32] Compiling MonetaryAmount MonetaryAmount+Construction.swift
[24/32] Emitting module MonetaryAmount
[25/32] Compiling MonetaryAmount Currency.swift
[26/32] Compiling MonetaryAmount Currencies+Generated.swift
[26/32] Write Objects.LinkFileList
[27/32] Archiving libMonetaryAmount.a
[29/35] 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/35] Emitting module MonetaryExchange
[31/35] Compiling MonetaryExchange MonetaryExchange.swift
[31/35] Write Objects.LinkFileList
[32/35] Archiving libMonetaryExchange.a
[34/37] Compiling MonetaryExchangeSample Sample.swift
[35/37] Emitting module MonetaryExchangeSample
[35/37] Write Objects.LinkFileList
[36/37] Archiving libMonetaryExchangeSample.a
Build complete! (31.83s)
Fetching https://github.com/SoftwareEngineerChris/MonetaryAmount.git
[1/154] Fetching monetaryamount
Fetched https://github.com/SoftwareEngineerChris/MonetaryAmount.git from cache (0.94s)
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/stencilproject/Stencil.git
Fetching https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Fetching https://github.com/SoftwareEngineerChris/Consolidate.git
[1/214] Fetching roundeddecimal
[215/355] Fetching roundeddecimal, consolidate
[261/5544] Fetching roundeddecimal, consolidate, stencil
Fetched https://github.com/SoftwareEngineerChris/Consolidate.git from cache (0.96s)
[889/5403] Fetching roundeddecimal, stencil
Fetched https://github.com/stencilproject/Stencil.git from cache (1.23s)
Fetched https://github.com/SoftwareEngineerChris/RoundedDecimal.git from cache (1.23s)
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.68s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.70s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[72/2432] Fetching pathkit, spectre
Fetched https://github.com/kylef/Spectre.git from cache (1.02s)
Fetched https://github.com/kylef/PathKit.git from cache (1.02s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.65s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.59s)
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/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/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/MonetaryAmount.git
Working copy of https://github.com/SoftwareEngineerChris/MonetaryAmount.git resolved at 1.1.1
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"
        ]
      }
    },
    {
      "name" : "MonetaryExchangeSample",
      "targets" : [
        "MonetaryExchangeSample"
      ],
      "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",
      "product_memberships" : [
        "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",
        "MonetaryExchangeSample"
      ],
      "sources" : [
        "MonetaryExchange+Fixer.swift",
        "MonetaryExchange.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.