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 master (16bfe2), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 05:31:15 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: 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
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.63s)
Fetching https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/SoftwareEngineerChris/Consolidate.git
[1/141] Fetching consolidate
[45/355] Fetching consolidate, roundeddecimal
[54/5544] Fetching consolidate, roundeddecimal, stencil
Fetched https://github.com/SoftwareEngineerChris/RoundedDecimal.git from cache (0.90s)
[2269/5330] Fetching consolidate, stencil
Fetched https://github.com/stencilproject/Stencil.git from cache (1.10s)
Fetched https://github.com/SoftwareEngineerChris/Consolidate.git from cache (1.10s)
Computing version for https://github.com/SoftwareEngineerChris/Consolidate.git
Computed https://github.com/SoftwareEngineerChris/Consolidate.git at 1.2.1 (0.61s)
Computing version for https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Computed https://github.com/SoftwareEngineerChris/RoundedDecimal.git at 2.2.2 (0.60s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.61s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[32/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.96s)
Fetched https://github.com/kylef/PathKit.git from cache (0.97s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.62s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.65s)
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/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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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/SoftwareEngineerChris/Consolidate.git
Working copy of https://github.com/SoftwareEngineerChris/Consolidate.git resolved at 1.2.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.85s)
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.02s)
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.53s)
Fetched https://github.com/SoftwareEngineerChris/RoundedDecimal.git from cache (0.53s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.53s)
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/Spectre.git from cache
Fetching https://github.com/kylef/PathKit.git from cache
Fetched https://github.com/kylef/PathKit.git from cache (0.48s)
Fetched https://github.com/kylef/Spectre.git from cache (0.48s)
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.03s)
Creating working copy for https://github.com/SoftwareEngineerChris/MonetaryExchange.git
Working copy of https://github.com/SoftwareEngineerChris/MonetaryExchange.git resolved at master (16bfe2a)
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
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/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
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/16] Write sources
[5/16] Write swift-version--7754E27361AE5C74.txt
[7/23] Emitting module Consolidate
[8/23] Compiling Consolidate Consolidatable.swift
[8/23] Write Objects.LinkFileList
[10/23] Compiling RoundedDecimal Decimal+Rounding.swift
[11/23] Compiling RoundedDecimal RoundedDecimal.swift
[12/23] Compiling RoundedDecimal DecimalTypes.swift
[13/23] Emitting module RoundedDecimal
[14/23] Compiling RoundedDecimal DynamicRoundedDecimal.swift
[14/23] Archiving libConsolidate.a
[15/23] Write Objects.LinkFileList
[16/23] Archiving libRoundedDecimal.a
[18/32] Compiling MonetaryAmount NumberFormatter+Currency.swift
[19/32] Compiling MonetaryAmount MonetaryAmount+Consolidation.swift
[20/32] Compiling MonetaryAmount MonetaryAmount+Negation.swift
[21/32] Compiling MonetaryAmount MonetaryAmount+Construction.swift
[22/32] Compiling MonetaryAmount MonetaryAmount.swift
[23/32] Compiling MonetaryAmount MonetaryAmount+Arithmetic.swift
[24/32] Emitting module MonetaryAmount
[25/32] Compiling MonetaryAmount Currencies+Generated.swift
[26/32] Compiling MonetaryAmount Currency.swift
[26/32] Write Objects.LinkFileList
[27/32] Archiving libMonetaryAmount.a
[29/35] Compiling MonetaryExchange MonetaryExchange.swift
[30/35] Emitting module MonetaryExchange
[31/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 |
[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! (12.28s)
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.