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 FinanceKit, reference master (159de2), with Swift 6.0 for Linux on 2 Nov 2024 08:38:00 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christiankm/FinanceKit.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/christiankm/FinanceKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 159de2e Add @available
Cloned https://github.com/christiankm/FinanceKit.git
Revision (git rev-parse @):
159de2e9a7ec70719a5161415a5566fcc3a0f029
SUCCESS checkout https://github.com/christiankm/FinanceKit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/christiankm/FinanceKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/36] Emitting module FinanceKit
/host/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
/host/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 CurrencyConverter.swift
[5/40] Compiling FinanceKit CurrencyFormatter.swift
[6/40] Compiling FinanceKit CurrencyPair.swift
[7/40] Compiling FinanceKit Date+Comparison.swift
[8/40] Compiling FinanceKit Date+Ranges.swift
[9/40] Compiling FinanceKit Numerics+Total+Average.swift
/host/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 Percentage.swift
/host/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 PercentageFormatter.swift
/host/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.
[12/40] Compiling FinanceKit PerformanceCalculator.swift
/host/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.
[13/40] Compiling FinanceKit HistoricalPrice.swift
/host/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.
[14/40] Compiling FinanceKit Holding.swift
/host/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.
[15/40] Compiling FinanceKit Money.swift
/host/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.
[16/40] Compiling FinanceKit Number+LegacyType.swift
/host/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.
[17/40] Compiling FinanceKit NumberFormatter+Currency.swift
/host/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.
[18/40] Compiling FinanceKit Decimal+DoubleValue.swift
[19/40] Compiling FinanceKit Decimal+Rounded.swift
[20/40] Compiling FinanceKit Dividend.swift
[21/40] Compiling FinanceKit Exchange.swift
[22/40] Compiling FinanceKit ExchangeRate.swift
[23/40] Compiling FinanceKit Portfolio.swift
/host/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
[24/40] Compiling FinanceKit Price.swift
/host/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
[25/40] Compiling FinanceKit PriceTarget.swift
/host/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
[26/40] Compiling FinanceKit Quantity.swift
/host/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
[27/40] Compiling FinanceKit Amount.swift
/host/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
/host/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 Array+Holding.swift
/host/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
/host/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 Asset.swift
/host/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
/host/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.
[30/40] Compiling FinanceKit AssetAllocation.swift
/host/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
/host/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.
[31/40] Compiling FinanceKit Change.swift
/host/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
/host/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.
[32/40] Compiling FinanceKit Split.swift
[33/40] Compiling FinanceKit Stock.swift
[34/40] Compiling FinanceKit Symbol.swift
[35/40] Compiling FinanceKit Transaction.swift
[36/40] Compiling FinanceKit ChangePeriod.swift
/host/spi-builder-workspace/Sources/FinanceKit/Currency.swift:66:16: warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead
64 |     /// A list of available currency codes.
65 |     public static var isoCurrencyCodes: [String] {
66 |         Locale.isoCurrencyCodes
   |                `- warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead
67 |     }
68 |
[37/40] Compiling FinanceKit Company.swift
/host/spi-builder-workspace/Sources/FinanceKit/Currency.swift:66:16: warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead
64 |     /// A list of available currency codes.
65 |     public static var isoCurrencyCodes: [String] {
66 |         Locale.isoCurrencyCodes
   |                `- warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead
67 |     }
68 |
[38/40] Compiling FinanceKit ComparableToZero.swift
/host/spi-builder-workspace/Sources/FinanceKit/Currency.swift:66:16: warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead
64 |     /// A list of available currency codes.
65 |     public static var isoCurrencyCodes: [String] {
66 |         Locale.isoCurrencyCodes
   |                `- warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead
67 |     }
68 |
[39/40] Compiling FinanceKit Currency.swift
/host/spi-builder-workspace/Sources/FinanceKit/Currency.swift:66:16: warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead
64 |     /// A list of available currency codes.
65 |     public static var isoCurrencyCodes: [String] {
66 |         Locale.isoCurrencyCodes
   |                `- warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead
67 |     }
68 |
[40/40] Compiling FinanceKit CurrencyCode.swift
/host/spi-builder-workspace/Sources/FinanceKit/Currency.swift:66:16: warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead
64 |     /// A list of available currency codes.
65 |     public static var isoCurrencyCodes: [String] {
66 |         Locale.isoCurrencyCodes
   |                `- warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead
67 |     }
68 |
Build complete! (15.07s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FinanceKit",
  "name" : "FinanceKit",
  "path" : "/host/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",
        "DateComparisonTests.swift",
        "DecimalDoubleValueTests.swift",
        "DividendTests.swift",
        "ExchangeTests.swift",
        "HoldingTests.swift",
        "MoneyTests.swift",
        "NumberFormatterCurrencyTests.swift",
        "NumberLegacyTypeTests.swift",
        "NumericsTotalAverageTests.swift",
        "PercentageFormatterTests.swift",
        "PercentageTests.swift",
        "PerformanceCalculatorTests.swift",
        "PortfolioTests.swift",
        "PriceTargetTests.swift",
        "QuantityTests.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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.