The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of MonetaryExchange, reference 1.0.1 (a64a77), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 17:28:23 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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.94s)
Computing version for https://github.com/SoftwareEngineerChris/MonetaryAmount.git
Computed https://github.com/SoftwareEngineerChris/MonetaryAmount.git at 1.1.1 (0.60s)
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
[94/355] Fetching roundeddecimal, consolidate
[128/5544] Fetching roundeddecimal, consolidate, stencil
Fetched https://github.com/SoftwareEngineerChris/Consolidate.git from cache (1.07s)
Fetched https://github.com/stencilproject/Stencil.git from cache (1.07s)
Fetched https://github.com/SoftwareEngineerChris/RoundedDecimal.git from cache (1.07s)
Computing version for https://github.com/SoftwareEngineerChris/Consolidate.git
Computed https://github.com/SoftwareEngineerChris/Consolidate.git at 1.2.1 (0.59s)
Computing version for https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Computed https://github.com/SoftwareEngineerChris/RoundedDecimal.git at 2.2.2 (0.57s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.57s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1411] Fetching pathkit
[185/2432] Fetching pathkit, spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.96s)
Fetched https://github.com/kylef/PathKit.git from cache (0.96s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.61s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.34s)
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/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.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
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/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.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.96s)
Fetching https://github.com/SoftwareEngineerChris/MonetaryAmount.git from cache
Fetched https://github.com/SoftwareEngineerChris/MonetaryAmount.git from cache (0.44s)
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/stencilproject/Stencil.git from cache
Fetching https://github.com/SoftwareEngineerChris/Consolidate.git from cache
Fetching https://github.com/SoftwareEngineerChris/RoundedDecimal.git from cache
Fetched https://github.com/SoftwareEngineerChris/Consolidate.git from cache (0.45s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.46s)
Fetched https://github.com/SoftwareEngineerChris/RoundedDecimal.git from cache (0.46s)
Computing version for https://github.com/SoftwareEngineerChris/Consolidate.git
Computed https://github.com/SoftwareEngineerChris/Consolidate.git at 1.2.1 (0.02s)
Computing version for https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Computed https://github.com/SoftwareEngineerChris/RoundedDecimal.git at 2.2.2 (0.02s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.02s)
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.47s)
Fetched https://github.com/kylef/Spectre.git from cache (0.47s)
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/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
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/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
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/14] Write sources
[5/14] Write swift-version--7754E27361AE5C74.txt
[7/21] Emitting module Consolidate
[8/21] Compiling Consolidate Consolidatable.swift
[8/21] Write Objects.LinkFileList
[10/21] Compiling RoundedDecimal RoundedDecimal.swift
[11/21] Compiling RoundedDecimal DecimalTypes.swift
[12/21] Emitting module RoundedDecimal
[13/21] Compiling RoundedDecimal DynamicRoundedDecimal.swift
[14/21] Compiling RoundedDecimal Decimal+Rounding.swift
[14/21] Archiving libConsolidate.a
[15/21] Write Objects.LinkFileList
[16/21] Archiving libRoundedDecimal.a
[18/30] Compiling MonetaryAmount NumberFormatter+Currency.swift
[19/30] Compiling MonetaryAmount MonetaryAmount+Arithmetic.swift
[20/30] Compiling MonetaryAmount MonetaryAmount+Negation.swift
[21/30] Compiling MonetaryAmount MonetaryAmount+Construction.swift
[22/30] Compiling MonetaryAmount MonetaryAmount.swift
[23/30] Compiling MonetaryAmount Currency.swift
[24/30] Compiling MonetaryAmount MonetaryAmount+Consolidation.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] Emitting module MonetaryExchange
[31/33] Compiling MonetaryExchange MonetaryExchange.swift
[31/33] Write Objects.LinkFileList
[32/33] Archiving libMonetaryExchange.a
[34/35] Emitting module MonetaryExchangeSample
[35/35] Compiling MonetaryExchangeSample Sample.swift
Build complete! (11.66s)
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.