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.0 for macOS (SPM) on 2 Nov 2024 08:43:41 UTC.

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/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.88s)
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.0
Building package at path:  $PWD
https://github.com/christiankm/FinanceKit.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[4/40] Compiling FinanceKit PriceTarget.swift
[5/40] Compiling FinanceKit Quantity.swift
[6/40] Compiling FinanceKit Split.swift
[7/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[8/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[9/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[10/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[11/40] Compiling FinanceKit Stock.swift
[12/40] Compiling FinanceKit Symbol.swift
[13/40] Compiling FinanceKit Transaction.swift
[14/40] Compiling FinanceKit Decimal+Rounded.swift
[15/40] Compiling FinanceKit Dividend.swift
[16/40] Compiling FinanceKit Exchange.swift
[17/40] Compiling FinanceKit ExchangeRate.swift
[18/40] Compiling FinanceKit PerformanceCalculator.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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public let amount: Amount
[19/40] Compiling FinanceKit Portfolio.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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public let amount: Amount
[20/40] Compiling FinanceKit Price.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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public let amount: Amount
[21/40] Compiling FinanceKit HistoricalPrice.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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[22/40] Compiling FinanceKit Holding.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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[23/40] Compiling FinanceKit Money.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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[24/40] Compiling FinanceKit Number+LegacyType.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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[25/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[26/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[27/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[28/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     // The percentage in decimal.
[29/40] Compiling FinanceKit CurrencyPair.swift
[30/40] Compiling FinanceKit Date+Comparison.swift
[31/40] Compiling FinanceKit Date+Ranges.swift
[32/40] Compiling FinanceKit Decimal+DoubleValue.swift
[33/40] Compiling FinanceKit Amount.swift
[34/40] Compiling FinanceKit Array+Holding.swift
[35/40] Compiling FinanceKit Asset.swift
[36/40] Compiling FinanceKit AssetAllocation.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 |
BUILD FAILURE 6.0 macosSpm