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

Failed to build FinanceKit, reference 0.7.1 (b776f2), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 22:24:09 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christiankm/FinanceKit.git
Reference: 0.7.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/christiankm/FinanceKit
 * tag               0.7.1      -> FETCH_HEAD
HEAD is now at b776f2e Fix bug where only holdings with splits in the portfolio was returned
Cloned https://github.com/christiankm/FinanceKit.git
Revision (git rev-parse @):
b776f2e0d040c578c0b60aae5b778ffaac60834e
SUCCESS checkout https://github.com/christiankm/FinanceKit.git at 0.7.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": "financekit",
      "name": "FinanceKit",
      "url": "https://github.com/christiankm/FinanceKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FinanceKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/christiankm/FinanceKit.git
[1/1900] Fetching financekit
Fetched https://github.com/christiankm/FinanceKit.git from cache (0.80s)
Creating working copy for https://github.com/christiankm/FinanceKit.git
Working copy of https://github.com/christiankm/FinanceKit.git resolved at 0.7.1 (b776f2e)
warning: '.resolve-product-dependencies': dependency 'financekit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/christiankm/FinanceKit.git
https://github.com/christiankm/FinanceKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FinanceKit",
  "name" : "FinanceKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FinanceKit",
      "targets" : [
        "FinanceKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "FinanceKitTests",
      "module_type" : "SwiftTarget",
      "name" : "FinanceKitTests",
      "path" : "Tests/FinanceKitTests",
      "sources" : [
        "AssetAllocationTests.swift",
        "ChangeTests.swift",
        "CompanyTests.swift",
        "CurrencyConverterTests.swift",
        "CurrencyFormatterTests.swift",
        "CurrencyPairTests.swift",
        "CurrencyTests.swift",
        "Date+ComparisonTests.swift",
        "DecimalDoubleValueTests.swift",
        "DividendTests.swift",
        "ExchangeTests.swift",
        "HoldingTests.swift",
        "MoneyTests.swift",
        "Number+LegacyTypeTests.swift",
        "NumberFormatter+CurrencyTests.swift",
        "Numerics+Total+AverageTests.swift",
        "PercentageFormatterTests.swift",
        "PercentageTests.swift",
        "PerformanceCalculatorTests.swift",
        "PortfolioTests.swift",
        "PriceTargetTests.swift",
        "SplitTests.swift",
        "StockTests.swift",
        "SymbolTests.swift",
        "TestData.swift",
        "TransactionTests.swift"
      ],
      "target_dependencies" : [
        "FinanceKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FinanceKit",
      "module_type" : "SwiftTarget",
      "name" : "FinanceKit",
      "path" : "Sources/FinanceKit",
      "product_memberships" : [
        "FinanceKit"
      ],
      "sources" : [
        "Amount.swift",
        "Array+Holding.swift",
        "Asset.swift",
        "AssetAllocation.swift",
        "Change.swift",
        "ChangePeriod.swift",
        "Company.swift",
        "ComparableToZero.swift",
        "Currency.swift",
        "CurrencyCode.swift",
        "CurrencyConverter.swift",
        "CurrencyFormatter.swift",
        "CurrencyPair.swift",
        "Date+Comparison.swift",
        "Date+Ranges.swift",
        "Decimal+DoubleValue.swift",
        "Decimal+Rounded.swift",
        "Dividend.swift",
        "Exchange.swift",
        "ExchangeRate.swift",
        "HistoricalPrice.swift",
        "Holding.swift",
        "Money.swift",
        "Number+LegacyType.swift",
        "NumberFormatter+Currency.swift",
        "Numerics+Total+Average.swift",
        "Percentage.swift",
        "PercentageFormatter.swift",
        "PerformanceCalculator.swift",
        "Portfolio.swift",
        "Price.swift",
        "PriceTarget.swift",
        "Quantity.swift",
        "Split.swift",
        "Stock.swift",
        "Symbol.swift",
        "Transaction.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/37] Emitting module FinanceKit
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Change.swift:12:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Change' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 | /// A Change keeps track of the numerical and percent changes between the cost and current price.
10 | public struct Change: Codable, Equatable, Hashable {
   |               `- note: consider making struct 'Change' conform to the 'Sendable' protocol
11 |
12 |     public static let zero = Change(cost: 0, currentValue: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Change' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public let amount: Amount
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Percentage.swift:12:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Percentage' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct Percentage: Equatable, Hashable, Codable {
   |               `- note: consider making struct 'Percentage' conform to the 'Sendable' protocol
10 |
11 |     /// Return a percentage of zero.
12 |     public static let zero = Percentage(decimal: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Percentage' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[4/40] Compiling FinanceKit Stock.swift
[5/40] Compiling FinanceKit Symbol.swift
[6/40] Compiling FinanceKit Transaction.swift
[7/40] Compiling FinanceKit HistoricalPrice.swift
[8/40] Compiling FinanceKit Holding.swift
[9/40] Compiling FinanceKit Money.swift
[10/40] Compiling FinanceKit Number+LegacyType.swift
[11/40] Compiling FinanceKit Amount.swift
[12/40] Compiling FinanceKit Array+Holding.swift
[13/40] Compiling FinanceKit Asset.swift
[14/40] Compiling FinanceKit AssetAllocation.swift
[15/40] Compiling FinanceKit Decimal+Rounded.swift
[16/40] Compiling FinanceKit Dividend.swift
[17/40] Compiling FinanceKit Exchange.swift
[18/40] Compiling FinanceKit ExchangeRate.swift
[19/40] Compiling FinanceKit PriceTarget.swift
[20/40] Compiling FinanceKit Quantity.swift
[21/40] Compiling FinanceKit Split.swift
[22/40] Compiling FinanceKit Change.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Change.swift:12:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Change' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 | /// A Change keeps track of the numerical and percent changes between the cost and current price.
10 | public struct Change: Codable, Equatable, Hashable {
   |               `- note: consider making struct 'Change' conform to the 'Sendable' protocol
11 |
12 |     public static let zero = Change(cost: 0, currentValue: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Change' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public let amount: Amount
[23/40] Compiling FinanceKit ChangePeriod.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Change.swift:12:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Change' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 | /// A Change keeps track of the numerical and percent changes between the cost and current price.
10 | public struct Change: Codable, Equatable, Hashable {
   |               `- note: consider making struct 'Change' conform to the 'Sendable' protocol
11 |
12 |     public static let zero = Change(cost: 0, currentValue: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Change' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public let amount: Amount
[24/40] Compiling FinanceKit Company.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Change.swift:12:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Change' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 | /// A Change keeps track of the numerical and percent changes between the cost and current price.
10 | public struct Change: Codable, Equatable, Hashable {
   |               `- note: consider making struct 'Change' conform to the 'Sendable' protocol
11 |
12 |     public static let zero = Change(cost: 0, currentValue: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Change' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public let amount: Amount
[25/40] Compiling FinanceKit ComparableToZero.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Change.swift:12:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Change' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 | /// A Change keeps track of the numerical and percent changes between the cost and current price.
10 | public struct Change: Codable, Equatable, Hashable {
   |               `- note: consider making struct 'Change' conform to the 'Sendable' protocol
11 |
12 |     public static let zero = Change(cost: 0, currentValue: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Change' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public let amount: Amount
[26/40] Compiling FinanceKit PerformanceCalculator.swift
[27/40] Compiling FinanceKit Portfolio.swift
[28/40] Compiling FinanceKit Price.swift
[29/40] Compiling FinanceKit NumberFormatter+Currency.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Percentage.swift:12:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Percentage' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct Percentage: Equatable, Hashable, Codable {
   |               `- note: consider making struct 'Percentage' conform to the 'Sendable' protocol
10 |
11 |     /// Return a percentage of zero.
12 |     public static let zero = Percentage(decimal: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Percentage' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[30/40] Compiling FinanceKit Numerics+Total+Average.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Percentage.swift:12:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Percentage' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct Percentage: Equatable, Hashable, Codable {
   |               `- note: consider making struct 'Percentage' conform to the 'Sendable' protocol
10 |
11 |     /// Return a percentage of zero.
12 |     public static let zero = Percentage(decimal: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Percentage' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[31/40] Compiling FinanceKit Percentage.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Percentage.swift:12:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Percentage' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct Percentage: Equatable, Hashable, Codable {
   |               `- note: consider making struct 'Percentage' conform to the 'Sendable' protocol
10 |
11 |     /// Return a percentage of zero.
12 |     public static let zero = Percentage(decimal: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Percentage' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[32/40] Compiling FinanceKit PercentageFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Percentage.swift:12:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Percentage' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct Percentage: Equatable, Hashable, Codable {
   |               `- note: consider making struct 'Percentage' conform to the 'Sendable' protocol
10 |
11 |     /// Return a percentage of zero.
12 |     public static let zero = Percentage(decimal: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Percentage' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[33/40] Compiling FinanceKit CurrencyPair.swift
[34/40] Compiling FinanceKit Date+Comparison.swift
[35/40] Compiling FinanceKit Date+Ranges.swift
[36/40] Compiling FinanceKit Decimal+DoubleValue.swift
[37/40] Compiling FinanceKit Currency.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Currency.swift:61:16: error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
40 |
41 | /// This extension provides a bridge to system APIs inside a convenient namespace.
42 | extension Currency {
   | `- note: add @available attribute to enclosing extension
43 |
44 |     /// The currency code of the users current locale.
   :
58 |
59 |     /// A list of common currency codes.
60 |     public static var commonIsoCurrencyCodes: [String] {
   |                       `- note: add @available attribute to enclosing static property
61 |         Locale.commonISOCurrencyCodes
   |                |- error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
   |                `- note: add 'if #available' version check
62 |     }
63 |
[38/40] Compiling FinanceKit CurrencyCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Currency.swift:61:16: error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
40 |
41 | /// This extension provides a bridge to system APIs inside a convenient namespace.
42 | extension Currency {
   | `- note: add @available attribute to enclosing extension
43 |
44 |     /// The currency code of the users current locale.
   :
58 |
59 |     /// A list of common currency codes.
60 |     public static var commonIsoCurrencyCodes: [String] {
   |                       `- note: add @available attribute to enclosing static property
61 |         Locale.commonISOCurrencyCodes
   |                |- error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
   |                `- note: add 'if #available' version check
62 |     }
63 |
[39/40] Compiling FinanceKit CurrencyConverter.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Currency.swift:61:16: error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
40 |
41 | /// This extension provides a bridge to system APIs inside a convenient namespace.
42 | extension Currency {
   | `- note: add @available attribute to enclosing extension
43 |
44 |     /// The currency code of the users current locale.
   :
58 |
59 |     /// A list of common currency codes.
60 |     public static var commonIsoCurrencyCodes: [String] {
   |                       `- note: add @available attribute to enclosing static property
61 |         Locale.commonISOCurrencyCodes
   |                |- error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
   |                `- note: add 'if #available' version check
62 |     }
63 |
[40/40] Compiling FinanceKit CurrencyFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Currency.swift:61:16: error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
40 |
41 | /// This extension provides a bridge to system APIs inside a convenient namespace.
42 | extension Currency {
   | `- note: add @available attribute to enclosing extension
43 |
44 |     /// The currency code of the users current locale.
   :
58 |
59 |     /// A list of common currency codes.
60 |     public static var commonIsoCurrencyCodes: [String] {
   |                       `- note: add @available attribute to enclosing static property
61 |         Locale.commonISOCurrencyCodes
   |                |- error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
   |                `- note: add 'if #available' version check
62 |     }
63 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/36] Emitting module FinanceKit
[3/39] Compiling FinanceKit PriceTarget.swift
[4/39] Compiling FinanceKit Quantity.swift
[5/39] Compiling FinanceKit Split.swift
[6/39] Compiling FinanceKit Amount.swift
[7/39] Compiling FinanceKit Array+Holding.swift
[8/39] Compiling FinanceKit Asset.swift
[9/39] Compiling FinanceKit AssetAllocation.swift
[10/39] Compiling FinanceKit CurrencyPair.swift
[11/39] Compiling FinanceKit Date+Comparison.swift
[12/39] Compiling FinanceKit Date+Ranges.swift
[13/39] Compiling FinanceKit Decimal+DoubleValue.swift
[14/39] Compiling FinanceKit Change.swift
[15/39] Compiling FinanceKit ChangePeriod.swift
[16/39] Compiling FinanceKit Company.swift
[17/39] Compiling FinanceKit ComparableToZero.swift
[18/39] Compiling FinanceKit Currency.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Currency.swift:61:16: error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
40 |
41 | /// This extension provides a bridge to system APIs inside a convenient namespace.
42 | extension Currency {
   | `- note: add @available attribute to enclosing extension
43 |
44 |     /// The currency code of the users current locale.
   :
58 |
59 |     /// A list of common currency codes.
60 |     public static var commonIsoCurrencyCodes: [String] {
   |                       `- note: add @available attribute to enclosing static property
61 |         Locale.commonISOCurrencyCodes
   |                |- error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
   |                `- note: add 'if #available' version check
62 |     }
63 |
[19/39] Compiling FinanceKit CurrencyCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Currency.swift:61:16: error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
40 |
41 | /// This extension provides a bridge to system APIs inside a convenient namespace.
42 | extension Currency {
   | `- note: add @available attribute to enclosing extension
43 |
44 |     /// The currency code of the users current locale.
   :
58 |
59 |     /// A list of common currency codes.
60 |     public static var commonIsoCurrencyCodes: [String] {
   |                       `- note: add @available attribute to enclosing static property
61 |         Locale.commonISOCurrencyCodes
   |                |- error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
   |                `- note: add 'if #available' version check
62 |     }
63 |
[20/39] Compiling FinanceKit CurrencyConverter.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Currency.swift:61:16: error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
40 |
41 | /// This extension provides a bridge to system APIs inside a convenient namespace.
42 | extension Currency {
   | `- note: add @available attribute to enclosing extension
43 |
44 |     /// The currency code of the users current locale.
   :
58 |
59 |     /// A list of common currency codes.
60 |     public static var commonIsoCurrencyCodes: [String] {
   |                       `- note: add @available attribute to enclosing static property
61 |         Locale.commonISOCurrencyCodes
   |                |- error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
   |                `- note: add 'if #available' version check
62 |     }
63 |
[21/39] Compiling FinanceKit CurrencyFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Currency.swift:61:16: error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
40 |
41 | /// This extension provides a bridge to system APIs inside a convenient namespace.
42 | extension Currency {
   | `- note: add @available attribute to enclosing extension
43 |
44 |     /// The currency code of the users current locale.
   :
58 |
59 |     /// A list of common currency codes.
60 |     public static var commonIsoCurrencyCodes: [String] {
   |                       `- note: add @available attribute to enclosing static property
61 |         Locale.commonISOCurrencyCodes
   |                |- error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
   |                `- note: add 'if #available' version check
62 |     }
63 |
[22/39] Compiling FinanceKit PerformanceCalculator.swift
[23/39] Compiling FinanceKit Portfolio.swift
[24/39] Compiling FinanceKit Price.swift
[25/39] Compiling FinanceKit NumberFormatter+Currency.swift
[26/39] Compiling FinanceKit Numerics+Total+Average.swift
[27/39] Compiling FinanceKit Percentage.swift
[28/39] Compiling FinanceKit PercentageFormatter.swift
[29/39] Compiling FinanceKit Decimal+Rounded.swift
[30/39] Compiling FinanceKit Dividend.swift
[31/39] Compiling FinanceKit Exchange.swift
[32/39] Compiling FinanceKit ExchangeRate.swift
[33/39] Compiling FinanceKit HistoricalPrice.swift
[34/39] Compiling FinanceKit Holding.swift
[35/39] Compiling FinanceKit Money.swift
[36/39] Compiling FinanceKit Number+LegacyType.swift
[37/39] Compiling FinanceKit Stock.swift
[38/39] Compiling FinanceKit Symbol.swift
[39/39] Compiling FinanceKit Transaction.swift
BUILD FAILURE 6.1 macosSpm