Build Information
Successful build of XFormatter, reference main (563270
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 01:43:36 UTC.
Swift 6 data race errors: 12
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/pawello2222/XFormatter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pawello2222/XFormatter
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5632709 Merge pull request #2 from pawello2222/dev
Cloned https://github.com/pawello2222/XFormatter.git
Revision (git rev-parse @):
56327096627339f656f8f345c5528b993d26094b
SUCCESS checkout https://github.com/pawello2222/XFormatter.git at main
Fetching https://github.com/pawello2222/Appliable
Fetching https://github.com/pawello2222/PhantomKit
[1/141] Fetching appliable
[93/5771] Fetching appliable, phantomkit
Fetched https://github.com/pawello2222/PhantomKit from cache (1.20s)
Fetched https://github.com/pawello2222/Appliable from cache (1.20s)
Computing version for https://github.com/pawello2222/PhantomKit
Computed https://github.com/pawello2222/PhantomKit at 2.0.1 (0.48s)
Computing version for https://github.com/pawello2222/Appliable
Computed https://github.com/pawello2222/Appliable at 1.1.0 (3.61s)
Creating working copy for https://github.com/pawello2222/Appliable
Working copy of https://github.com/pawello2222/Appliable resolved at 1.1.0
Creating working copy for https://github.com/pawello2222/PhantomKit
Working copy of https://github.com/pawello2222/PhantomKit resolved at 2.0.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": "xformatter",
"name": "XFormatter",
"url": "https://github.com/pawello2222/XFormatter.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XFormatter",
"dependencies": [
{
"identity": "appliable",
"name": "Appliable",
"url": "https://github.com/pawello2222/Appliable",
"version": "1.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Appliable",
"dependencies": [
]
},
{
"identity": "phantomkit",
"name": "PhantomKit",
"url": "https://github.com/pawello2222/PhantomKit",
"version": "2.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PhantomKit",
"dependencies": [
{
"identity": "appliable",
"name": "Appliable",
"url": "https://github.com/pawello2222/Appliable",
"version": "1.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Appliable",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/pawello2222/XFormatter.git
[6/271] Fetching xformatter
Fetched https://github.com/pawello2222/XFormatter.git from cache (0.92s)
Fetching https://github.com/pawello2222/Appliable from cache
Fetching https://github.com/pawello2222/PhantomKit from cache
Fetched https://github.com/pawello2222/PhantomKit from cache (0.49s)
Fetched https://github.com/pawello2222/Appliable from cache (0.49s)
Computing version for https://github.com/pawello2222/PhantomKit
Computed https://github.com/pawello2222/PhantomKit at 2.0.1 (0.03s)
Computing version for https://github.com/pawello2222/Appliable
Computed https://github.com/pawello2222/Appliable at 1.1.0 (0.03s)
Creating working copy for https://github.com/pawello2222/PhantomKit
Working copy of https://github.com/pawello2222/PhantomKit resolved at 2.0.1
Creating working copy for https://github.com/pawello2222/Appliable
Working copy of https://github.com/pawello2222/Appliable resolved at 1.1.0
Creating working copy for https://github.com/pawello2222/XFormatter.git
Working copy of https://github.com/pawello2222/XFormatter.git resolved at main (5632709)
warning: '.resolve-product-dependencies': dependency 'xformatter' is not used by any target
Found 2 product dependencies
- Appliable
- PhantomKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/pawello2222/XFormatter.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/7] Write sources
[6/7] Write swift-version--7754E27361AE5C74.txt
[8/10] Emitting module Appliable
[9/10] Compiling Appliable ObjectAppliable.swift
[10/10] Compiling Appliable Appliable.swift
[11/31] Compiling PhantomKitLog Logger.swift
[12/31] Compiling PhantomKitLog LogLevel.swift
[13/31] Compiling PhantomKitLog LogCategory.swift
[14/31] Compiling PhantomKitCore TimeInterval+Extensions.swift
[15/31] Compiling PhantomKitCore String+Extensions.swift
[16/31] Compiling PhantomKitCore Set+Extensions.swift
[17/32] Compiling PhantomKitCore Locale+Extensions.swift
[18/32] Compiling PhantomKitCore NSDecimalNumber+Extensions.swift
[19/32] Compiling PhantomKitCore Comparable+Extensions.swift
[20/32] Compiling PhantomKitCore Date+Extensions.swift
[21/32] Compiling PhantomKitCore Equatable+Extensions.swift
[22/32] Compiling PhantomKitCore Error+Extensions.swift
[23/32] Compiling PhantomKitCore CGSize+Extensions.swift
[24/32] Compiling PhantomKitCore Calendar+Extensions.swift
[25/32] Emitting module PhantomKitCore
[26/32] Compiling PhantomKitCore Array+Extensions.swift
[27/32] Compiling PhantomKitCore Bundle+Extensions.swift
[28/32] Compiling PhantomKitCore TimeZone+Extensions.swift
[29/54] Compiling PhantomKitLog LogBuilder.swift
[30/54] Compiling PhantomKitLog ConsoleLogger.swift
[31/54] Emitting module PhantomKitLog
[32/54] Compiling PhantomKitLog OSLogLogger.swift
[33/64] Compiling PhantomKitAPI HTTPCode.swift
[34/64] Compiling PhantomKitAPI AuthorizationType.swift
[35/64] Compiling PhantomKitAPI APIMethod.swift
[36/64] Compiling PhantomKitAPI APIError.swift
[37/64] Compiling PhantomKitAPI NetworkSession.swift
[38/64] Compiling PhantomKitAPI Loadable.swift
[39/64] Compiling PhantomKitAPI APIEndpoint.swift
[40/64] Compiling PhantomKitAPI APIDataSource.swift
[41/64] Emitting module PhantomKitAPI
[42/64] Compiling PhantomKitAPI NetworkDataSource.swift
[43/64] Emitting module PhantomKitUI
[44/66] Compiling PhantomKitUI ViewControllerRepresentable.swift
[45/66] Compiling PhantomKitUI ViewRepresentable.swift
[46/66] Compiling PhantomKitUI EnvironmentValues+ShortLabelWidth.swift
[47/66] Compiling PhantomKitUI EnvironmentValues+UserInterfaceIdiom.swift
[48/66] Compiling PhantomKitUI View+Apply.swift
[49/66] Compiling PhantomKitUI View+Extensions.swift
[50/66] Compiling PhantomKitUI Edge+Extensions.swift
[51/66] Compiling PhantomKitUI View+Alignment.swift
[52/66] Compiling PhantomKitUI FullScreenViewModifier.swift
[53/66] Compiling PhantomKitUI LinkViewModifier.swift
[54/66] Compiling PhantomKitUI CustomizablePicker+Item.swift
[55/66] Compiling PhantomKitUI CustomizablePicker+Selection.swift
[56/66] Compiling PhantomKitUI CustomizablePicker.swift
[57/66] Compiling PhantomKitUI Binding+Extensions.swift
[58/66] Compiling PhantomKitUI Color+Extensions.swift
[59/66] Compiling PhantomKitUI SheetViewModifier.swift
[60/66] Compiling PhantomKitUI Triangle.swift
[61/66] Compiling PhantomKitUI CheckmarkView.swift
[62/66] Compiling PhantomKitUI IndicatorView.swift
[63/66] Compiling PhantomKitUI MultiColumnList.swift
[64/66] Compiling PhantomKitUI VCenteredScrollView.swift
[65/66] Compiling PhantomKitUI PDFViewRepresentable.swift
[66/66] Compiling PhantomKitUI SafariViewRepresentable.swift
[67/77] Compiling XFormatter XDateFormatter+Date.swift
[68/78] Compiling XFormatter Date+Localized.swift
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:44:23: warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension XDateFormatter {
44 | public static var date = date(localizedFormat: "yyyyMMdd")
| |- warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'date' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'date' 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
45 |
46 | public static var time = date(localizedFormat: "jjmmss")
[69/78] Compiling XFormatter XDateFormatter+Convenience.swift
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:44:23: warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension XDateFormatter {
44 | public static var date = date(localizedFormat: "yyyyMMdd")
| |- warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'date' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'date' 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
45 |
46 | public static var time = date(localizedFormat: "jjmmss")
[70/78] Emitting module XFormatter
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:44:23: warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension XDateFormatter {
44 | public static var date = date(localizedFormat: "yyyyMMdd")
| |- warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'date' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'date' 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
45 |
46 | public static var time = date(localizedFormat: "jjmmss")
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:46:23: warning: static property 'time' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | public static var date = date(localizedFormat: "yyyyMMdd")
45 |
46 | public static var time = date(localizedFormat: "jjmmss")
| |- warning: static property 'time' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'time' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'time' 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
47 |
48 | public static var datetime = date(localizedFormat: "yyyyMMddjjmmss")
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:48:23: warning: static property 'datetime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | public static var time = date(localizedFormat: "jjmmss")
47 |
48 | public static var datetime = date(localizedFormat: "yyyyMMddjjmmss")
| |- warning: static property 'datetime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'datetime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'datetime' 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
49 |
50 | public static var dateComponents = dateComponents(
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:50:23: warning: static property 'dateComponents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public static var datetime = date(localizedFormat: "yyyyMMddjjmmss")
49 |
50 | public static var dateComponents = dateComponents(
| |- warning: static property 'dateComponents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateComponents' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateComponents' 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
51 | allowedUnits: [.year, .month, .day]
52 | )
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:54:23: warning: static property 'timeComponents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | )
53 |
54 | public static var timeComponents = dateComponents(
| |- warning: static property 'timeComponents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeComponents' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeComponents' 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
55 | allowedUnits: [.hour, .minute, .second]
56 | )
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:58:23: warning: static property 'datetimeComponents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 | )
57 |
58 | public static var datetimeComponents = dateComponents(
| |- warning: static property 'datetimeComponents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'datetimeComponents' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'datetimeComponents' 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
59 | allowedUnits: [.year, .month, .day, .hour, .minute, .second]
60 | )
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XFormatter/Components/Abbreviation.swift:54:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | extension XFormatter.Abbreviation {
54 | public static var `default`: Self = .init(
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
55 | [
56 | .init(suffix: "m", value: 1_000_000),
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XFormatter/Components/Abbreviation.swift:61:23: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | )
60 |
61 | public static var none: Self = .init()
| |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'none' 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
62 |
63 | public static var capitalized = Self.default.capitalized
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XFormatter/Components/Abbreviation.swift:63:23: warning: static property 'capitalized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | public static var none: Self = .init()
62 |
63 | public static var capitalized = Self.default.capitalized
| |- warning: static property 'capitalized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'capitalized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'capitalized' 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
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XFormatter/XFormatter.swift:51:23: warning: static property 'currency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | extension XFormatter {
51 | public static var currency = currency()
| |- warning: static property 'currency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currency' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currency' 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
52 |
53 | public static var decimal = decimal()
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XFormatter/XFormatter.swift:53:23: warning: static property 'decimal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | public static var currency = currency()
52 |
53 | public static var decimal = decimal()
| |- warning: static property 'decimal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'decimal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'decimal' 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
54 |
55 | public static var percent = percent()
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XFormatter/XFormatter.swift:55:23: warning: static property 'percent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | public static var decimal = decimal()
54 |
55 | public static var percent = percent()
| |- warning: static property 'percent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'percent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'percent' 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
56 | }
57 |
[71/78] Compiling XFormatter XDateFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:44:23: warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | extension XDateFormatter {
44 | public static var date = date(localizedFormat: "yyyyMMdd")
| |- warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'date' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'date' 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
45 |
46 | public static var time = date(localizedFormat: "jjmmss")
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:46:23: warning: static property 'time' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | public static var date = date(localizedFormat: "yyyyMMdd")
45 |
46 | public static var time = date(localizedFormat: "jjmmss")
| |- warning: static property 'time' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'time' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'time' 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
47 |
48 | public static var datetime = date(localizedFormat: "yyyyMMddjjmmss")
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:48:23: warning: static property 'datetime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | public static var time = date(localizedFormat: "jjmmss")
47 |
48 | public static var datetime = date(localizedFormat: "yyyyMMddjjmmss")
| |- warning: static property 'datetime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'datetime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'datetime' 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
49 |
50 | public static var dateComponents = dateComponents(
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:50:23: warning: static property 'dateComponents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public static var datetime = date(localizedFormat: "yyyyMMddjjmmss")
49 |
50 | public static var dateComponents = dateComponents(
| |- warning: static property 'dateComponents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateComponents' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateComponents' 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
51 | allowedUnits: [.year, .month, .day]
52 | )
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:54:23: warning: static property 'timeComponents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | )
53 |
54 | public static var timeComponents = dateComponents(
| |- warning: static property 'timeComponents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeComponents' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeComponents' 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
55 | allowedUnits: [.hour, .minute, .second]
56 | )
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XDateFormatter/XDateFormatter.swift:58:23: warning: static property 'datetimeComponents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 | )
57 |
58 | public static var datetimeComponents = dateComponents(
| |- warning: static property 'datetimeComponents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'datetimeComponents' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'datetimeComponents' 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
59 | allowedUnits: [.year, .month, .day, .hour, .minute, .second]
60 | )
[72/78] Compiling XFormatter Abbreviation+Threshold.swift
[73/78] Compiling XFormatter Precision.swift
[74/78] Compiling XFormatter Abbreviation.swift
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XFormatter/Components/Abbreviation.swift:54:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | extension XFormatter.Abbreviation {
54 | public static var `default`: Self = .init(
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
55 | [
56 | .init(suffix: "m", value: 1_000_000),
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XFormatter/Components/Abbreviation.swift:61:23: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | )
60 |
61 | public static var none: Self = .init()
| |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'none' 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
62 |
63 | public static var capitalized = Self.default.capitalized
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XFormatter/Components/Abbreviation.swift:63:23: warning: static property 'capitalized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | public static var none: Self = .init()
62 |
63 | public static var capitalized = Self.default.capitalized
| |- warning: static property 'capitalized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'capitalized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'capitalized' 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
64 | }
65 |
[75/78] Compiling XFormatter XFormatter+Decimal.swift
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XFormatter/Components/Abbreviation.swift:61:23: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | )
60 |
61 | public static var none: Self = .init()
| |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'none' 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
62 |
63 | public static var capitalized = Self.default.capitalized
[76/78] Compiling XFormatter Sign.swift
[77/78] Compiling XFormatter XFormatter+Convenience.swift
[78/78] Compiling XFormatter XFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XFormatter/XFormatter.swift:51:23: warning: static property 'currency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | extension XFormatter {
51 | public static var currency = currency()
| |- warning: static property 'currency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currency' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currency' 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
52 |
53 | public static var decimal = decimal()
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XFormatter/XFormatter.swift:53:23: warning: static property 'decimal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | public static var currency = currency()
52 |
53 | public static var decimal = decimal()
| |- warning: static property 'decimal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'decimal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'decimal' 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
54 |
55 | public static var percent = percent()
/Users/admin/builder/spi-builder-workspace/Sources/XFormatter/XFormatter/XFormatter.swift:55:23: warning: static property 'percent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | public static var decimal = decimal()
54 |
55 | public static var percent = percent()
| |- warning: static property 'percent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'percent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'percent' 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
56 | }
57 |
Build complete! (27.93s)
Build complete.
{
"dependencies" : [
{
"identity" : "appliable",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pawello2222/Appliable"
},
{
"identity" : "phantomkit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pawello2222/PhantomKit"
}
],
"manifest_display_name" : "XFormatter",
"name" : "XFormatter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "17.0"
}
],
"products" : [
{
"name" : "XFormatter",
"targets" : [
"XFormatter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XFormatterTests",
"module_type" : "SwiftTarget",
"name" : "XFormatterTests",
"path" : "Tests/XFormatterTests",
"sources" : [
"Extensions/Date+Tests.swift",
"XDateFormatter/DateComponentsFormatter+Tests.swift",
"XDateFormatter/DateFormatter+Tests.swift",
"XFormatter/CurrencyFormatter+Tests.swift",
"XFormatter/DecimalFormatter+Tests.swift",
"XFormatter/PercentFormatter+Tests.swift"
],
"target_dependencies" : [
"XFormatter"
],
"type" : "test"
},
{
"c99name" : "XFormatter",
"module_type" : "SwiftTarget",
"name" : "XFormatter",
"path" : "Sources/XFormatter",
"product_dependencies" : [
"Appliable",
"PhantomKit"
],
"product_memberships" : [
"XFormatter"
],
"sources" : [
"Extensions/Date+Localized.swift",
"XDateFormatter/XDateFormatter+Convenience.swift",
"XDateFormatter/XDateFormatter+Date.swift",
"XDateFormatter/XDateFormatter.swift",
"XFormatter/Components/Abbreviation+Threshold.swift",
"XFormatter/Components/Abbreviation.swift",
"XFormatter/Components/Precision.swift",
"XFormatter/Components/Sign.swift",
"XFormatter/XFormatter+Convenience.swift",
"XFormatter/XFormatter+Decimal.swift",
"XFormatter/XFormatter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.