Build Information
Successful build of SwiftDate, reference 6.1.1 (d436a2
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 03:30:37 UTC.
Swift 6 data race errors: 17
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/drewag/SwiftDate.git
Reference: 6.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/drewag/SwiftDate
* tag 6.1.1 -> FETCH_HEAD
HEAD is now at d436a26 [BF] Fix build
Cloned https://github.com/drewag/SwiftDate.git
Revision (git rev-parse @):
d436a26e2350ce39540d8d98568036b3793a8320
SUCCESS checkout https://github.com/drewag/SwiftDate.git at 6.1.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": "swiftdate",
"name": "SwiftDate",
"url": "https://github.com/drewag/SwiftDate.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftDate",
"dependencies": [
]
}
]
}
Fetching https://github.com/drewag/SwiftDate.git
[1/8436] Fetching swiftdate
Fetched https://github.com/drewag/SwiftDate.git from cache (2.61s)
Creating working copy for https://github.com/drewag/SwiftDate.git
Working copy of https://github.com/drewag/SwiftDate.git resolved at 6.1.1 (d436a26)
warning: '.resolve-product-dependencies': dependency 'swiftdate' 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/drewag/SwiftDate.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/36] Emitting module SwiftDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:27:21: warning: static property 'withYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
25 | /// - If withWeekOfYear is specified, YYYY is used.
26 | /// - Otherwise, yyyy is used.
27 | public static let withYear = ISOFormatter.Options(rawValue: 1 << 0)
| |- warning: static property 'withYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withYear' 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
28 |
29 | /// The date representation includes the month. The format for month is MM.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:30:21: warning: static property 'withMonth' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
28 |
29 | /// The date representation includes the month. The format for month is MM.
30 | public static let withMonth = ISOFormatter.Options(rawValue: 1 << 1)
| |- warning: static property 'withMonth' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withMonth' 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
31 |
32 | /// The date representation includes the week of the year.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:34:21: warning: static property 'withWeekOfYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
32 | /// The date representation includes the week of the year.
33 | /// The format for week of year is ww, including the W prefix.
34 | public static let withWeekOfYear = ISOFormatter.Options(rawValue: 1 << 2)
| |- warning: static property 'withWeekOfYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withWeekOfYear' 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
35 |
36 | /// The date representation includes the day. The format for day is inferred based on provided options:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:40:21: warning: static property 'withDay' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
38 | /// - If withWeekOfYear is specified, ee is used.
39 | /// - Otherwise, DDD is used.
40 | public static let withDay = ISOFormatter.Options(rawValue: 1 << 3)
| |- warning: static property 'withDay' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withDay' 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
41 |
42 | /// The date representation includes the time. The format for time is HH:mm:ss.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:43:21: warning: static property 'withTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
41 |
42 | /// The date representation includes the time. The format for time is HH:mm:ss.
43 | public static let withTime = ISOFormatter.Options(rawValue: 1 << 4)
| |- warning: static property 'withTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withTime' 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
44 |
45 | /// The date representation includes the timezone. The format for timezone is ZZZZZ.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:46:21: warning: static property 'withTimeZone' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
44 |
45 | /// The date representation includes the timezone. The format for timezone is ZZZZZ.
46 | public static let withTimeZone = ISOFormatter.Options(rawValue: 1 << 5)
| |- warning: static property 'withTimeZone' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withTimeZone' 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 | /// The date representation uses a space ( ) instead of T between the date and time.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:49:21: warning: static property 'withSpaceBetweenDateAndTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
47 |
48 | /// The date representation uses a space ( ) instead of T between the date and time.
49 | public static let withSpaceBetweenDateAndTime = ISOFormatter.Options(rawValue: 1 << 6)
| |- warning: static property 'withSpaceBetweenDateAndTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withSpaceBetweenDateAndTime' 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
50 |
51 | /// The date representation uses the dash separator (-) in the date.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:52:21: warning: static property 'withDashSeparatorInDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
50 |
51 | /// The date representation uses the dash separator (-) in the date.
52 | public static let withDashSeparatorInDate = ISOFormatter.Options(rawValue: 1 << 7)
| |- warning: static property 'withDashSeparatorInDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withDashSeparatorInDate' 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
53 |
54 | /// The date representation uses the colon separator (:) in the time.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:55:21: warning: static property 'withFullDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
53 |
54 | /// The date representation uses the colon separator (:) in the time.
55 | public static let withFullDate = ISOFormatter.Options(rawValue: 1 << 8)
| |- warning: static property 'withFullDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withFullDate' 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 | /// The date representation includes the hour, minute, and second.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:58:21: warning: static property 'withFullTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
56 |
57 | /// The date representation includes the hour, minute, and second.
58 | public static let withFullTime = ISOFormatter.Options(rawValue: 1 << 9)
| |- warning: static property 'withFullTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withFullTime' 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 |
60 | /// The format used for internet date times, according to the RFC 3339 standard.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:63:21: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
61 | /// Equivalent to specifying withFullDate, withFullTime, withDashSeparatorInDate,
62 | /// withColonSeparatorInTime, and withColonSeparatorInTimeZone.
63 | public static let withInternetDateTime = ISOFormatter.Options(rawValue: 1 << 10)
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' 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 | // The format used for internet date times; it's similar to .withInternetDateTime
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:67:21: warning: static property 'withInternetDateTimeExtended' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
65 | // The format used for internet date times; it's similar to .withInternetDateTime
66 | // but include milliseconds ('yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ').
67 | public static let withInternetDateTimeExtended = ISOFormatter.Options(rawValue: 1 << 11)
| |- warning: static property 'withInternetDateTimeExtended' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTimeExtended' 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
68 |
69 | /// Print the timezone in format `ZZZ` instead of `ZZZZZ`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:71:21: warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
69 | /// Print the timezone in format `ZZZ` instead of `ZZZZZ`
70 | /// An example outout maybe be `+0200` instead of `+02:00`.
71 | public static let withoutTZSeparators = ISOFormatter.Options(rawValue: 1 << 12)
| |- warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withoutTZSeparators' 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
72 |
73 | /// Evaluate formatting string
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter.swift:18:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | public class RelativeFormatter: DateToStringTrasformable {
| `- note: class 'RelativeFormatter' does not conform to the 'Sendable' protocol
16 |
17 | /// Private singleton for relative formatter
18 | private static let shared = RelativeFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
19 |
20 | /// Return all languages supported by the library for relative date formatting
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatterLanguage.swift:17:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | internal class RelativeFormatterLanguagesCache {
| `- note: class 'RelativeFormatterLanguagesCache' does not conform to the 'Sendable' protocol
16 |
17 | static let shared = RelativeFormatterLanguagesCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
18 |
19 | private(set) var cachedValues = [String: [String: Any]]()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Calendars.swift:45:1: warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
43 | // MARK: - Support for Calendar.Identifier encoding with Codable
44 |
45 | extension Calendar.Identifier: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
46 |
47 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' 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
123 |
124 | /// Default ISO8601 format string
[4/39] Compiling SwiftDate Date+Compare.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
141 |
142 | private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 | switch component {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
144 | case .era:
145 | return dateComponents.era
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[5/39] Compiling SwiftDate Date+Components.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
141 |
142 | private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 | switch component {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
144 | case .era:
145 | return dateComponents.era
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[6/39] Compiling SwiftDate Date+Create.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
141 |
142 | private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 | switch component {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
144 | case .era:
145 | return dateComponents.era
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[7/39] Compiling SwiftDate Date+Math.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
141 |
142 | private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 | switch component {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
144 | case .era:
145 | return dateComponents.era
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[8/39] Compiling SwiftDate TimePeriod+Support.swift
[9/39] Compiling SwiftDate TimePeriod.swift
[10/39] Compiling SwiftDate TimePeriodProtocol.swift
[11/39] Compiling SwiftDate DotNetParserFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:27:21: warning: static property 'withYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
25 | /// - If withWeekOfYear is specified, YYYY is used.
26 | /// - Otherwise, yyyy is used.
27 | public static let withYear = ISOFormatter.Options(rawValue: 1 << 0)
| |- warning: static property 'withYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withYear' 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
28 |
29 | /// The date representation includes the month. The format for month is MM.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:30:21: warning: static property 'withMonth' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
28 |
29 | /// The date representation includes the month. The format for month is MM.
30 | public static let withMonth = ISOFormatter.Options(rawValue: 1 << 1)
| |- warning: static property 'withMonth' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withMonth' 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
31 |
32 | /// The date representation includes the week of the year.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:34:21: warning: static property 'withWeekOfYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
32 | /// The date representation includes the week of the year.
33 | /// The format for week of year is ww, including the W prefix.
34 | public static let withWeekOfYear = ISOFormatter.Options(rawValue: 1 << 2)
| |- warning: static property 'withWeekOfYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withWeekOfYear' 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
35 |
36 | /// The date representation includes the day. The format for day is inferred based on provided options:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:40:21: warning: static property 'withDay' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
38 | /// - If withWeekOfYear is specified, ee is used.
39 | /// - Otherwise, DDD is used.
40 | public static let withDay = ISOFormatter.Options(rawValue: 1 << 3)
| |- warning: static property 'withDay' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withDay' 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
41 |
42 | /// The date representation includes the time. The format for time is HH:mm:ss.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:43:21: warning: static property 'withTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
41 |
42 | /// The date representation includes the time. The format for time is HH:mm:ss.
43 | public static let withTime = ISOFormatter.Options(rawValue: 1 << 4)
| |- warning: static property 'withTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withTime' 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
44 |
45 | /// The date representation includes the timezone. The format for timezone is ZZZZZ.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:46:21: warning: static property 'withTimeZone' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
44 |
45 | /// The date representation includes the timezone. The format for timezone is ZZZZZ.
46 | public static let withTimeZone = ISOFormatter.Options(rawValue: 1 << 5)
| |- warning: static property 'withTimeZone' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withTimeZone' 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 | /// The date representation uses a space ( ) instead of T between the date and time.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:49:21: warning: static property 'withSpaceBetweenDateAndTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
47 |
48 | /// The date representation uses a space ( ) instead of T between the date and time.
49 | public static let withSpaceBetweenDateAndTime = ISOFormatter.Options(rawValue: 1 << 6)
| |- warning: static property 'withSpaceBetweenDateAndTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withSpaceBetweenDateAndTime' 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
50 |
51 | /// The date representation uses the dash separator (-) in the date.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:52:21: warning: static property 'withDashSeparatorInDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
50 |
51 | /// The date representation uses the dash separator (-) in the date.
52 | public static let withDashSeparatorInDate = ISOFormatter.Options(rawValue: 1 << 7)
| |- warning: static property 'withDashSeparatorInDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withDashSeparatorInDate' 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
53 |
54 | /// The date representation uses the colon separator (:) in the time.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:55:21: warning: static property 'withFullDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
53 |
54 | /// The date representation uses the colon separator (:) in the time.
55 | public static let withFullDate = ISOFormatter.Options(rawValue: 1 << 8)
| |- warning: static property 'withFullDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withFullDate' 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 | /// The date representation includes the hour, minute, and second.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:58:21: warning: static property 'withFullTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
56 |
57 | /// The date representation includes the hour, minute, and second.
58 | public static let withFullTime = ISOFormatter.Options(rawValue: 1 << 9)
| |- warning: static property 'withFullTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withFullTime' 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 |
60 | /// The format used for internet date times, according to the RFC 3339 standard.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:63:21: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
61 | /// Equivalent to specifying withFullDate, withFullTime, withDashSeparatorInDate,
62 | /// withColonSeparatorInTime, and withColonSeparatorInTimeZone.
63 | public static let withInternetDateTime = ISOFormatter.Options(rawValue: 1 << 10)
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' 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 | // The format used for internet date times; it's similar to .withInternetDateTime
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:67:21: warning: static property 'withInternetDateTimeExtended' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
65 | // The format used for internet date times; it's similar to .withInternetDateTime
66 | // but include milliseconds ('yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ').
67 | public static let withInternetDateTimeExtended = ISOFormatter.Options(rawValue: 1 << 11)
| |- warning: static property 'withInternetDateTimeExtended' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTimeExtended' 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
68 |
69 | /// Print the timezone in format `ZZZ` instead of `ZZZZZ`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:71:21: warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
69 | /// Print the timezone in format `ZZZ` instead of `ZZZZZ`
70 | /// An example outout maybe be `+0200` instead of `+02:00`.
71 | public static let withoutTZSeparators = ISOFormatter.Options(rawValue: 1 << 12)
| |- warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withoutTZSeparators' 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
72 |
73 | /// Evaluate formatting string
[12/39] Compiling SwiftDate Formatter+Protocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:27:21: warning: static property 'withYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
25 | /// - If withWeekOfYear is specified, YYYY is used.
26 | /// - Otherwise, yyyy is used.
27 | public static let withYear = ISOFormatter.Options(rawValue: 1 << 0)
| |- warning: static property 'withYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withYear' 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
28 |
29 | /// The date representation includes the month. The format for month is MM.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:30:21: warning: static property 'withMonth' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
28 |
29 | /// The date representation includes the month. The format for month is MM.
30 | public static let withMonth = ISOFormatter.Options(rawValue: 1 << 1)
| |- warning: static property 'withMonth' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withMonth' 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
31 |
32 | /// The date representation includes the week of the year.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:34:21: warning: static property 'withWeekOfYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
32 | /// The date representation includes the week of the year.
33 | /// The format for week of year is ww, including the W prefix.
34 | public static let withWeekOfYear = ISOFormatter.Options(rawValue: 1 << 2)
| |- warning: static property 'withWeekOfYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withWeekOfYear' 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
35 |
36 | /// The date representation includes the day. The format for day is inferred based on provided options:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:40:21: warning: static property 'withDay' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
38 | /// - If withWeekOfYear is specified, ee is used.
39 | /// - Otherwise, DDD is used.
40 | public static let withDay = ISOFormatter.Options(rawValue: 1 << 3)
| |- warning: static property 'withDay' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withDay' 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
41 |
42 | /// The date representation includes the time. The format for time is HH:mm:ss.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:43:21: warning: static property 'withTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
41 |
42 | /// The date representation includes the time. The format for time is HH:mm:ss.
43 | public static let withTime = ISOFormatter.Options(rawValue: 1 << 4)
| |- warning: static property 'withTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withTime' 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
44 |
45 | /// The date representation includes the timezone. The format for timezone is ZZZZZ.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:46:21: warning: static property 'withTimeZone' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
44 |
45 | /// The date representation includes the timezone. The format for timezone is ZZZZZ.
46 | public static let withTimeZone = ISOFormatter.Options(rawValue: 1 << 5)
| |- warning: static property 'withTimeZone' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withTimeZone' 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 | /// The date representation uses a space ( ) instead of T between the date and time.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:49:21: warning: static property 'withSpaceBetweenDateAndTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
47 |
48 | /// The date representation uses a space ( ) instead of T between the date and time.
49 | public static let withSpaceBetweenDateAndTime = ISOFormatter.Options(rawValue: 1 << 6)
| |- warning: static property 'withSpaceBetweenDateAndTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withSpaceBetweenDateAndTime' 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
50 |
51 | /// The date representation uses the dash separator (-) in the date.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:52:21: warning: static property 'withDashSeparatorInDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
50 |
51 | /// The date representation uses the dash separator (-) in the date.
52 | public static let withDashSeparatorInDate = ISOFormatter.Options(rawValue: 1 << 7)
| |- warning: static property 'withDashSeparatorInDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withDashSeparatorInDate' 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
53 |
54 | /// The date representation uses the colon separator (:) in the time.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:55:21: warning: static property 'withFullDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
53 |
54 | /// The date representation uses the colon separator (:) in the time.
55 | public static let withFullDate = ISOFormatter.Options(rawValue: 1 << 8)
| |- warning: static property 'withFullDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withFullDate' 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 | /// The date representation includes the hour, minute, and second.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:58:21: warning: static property 'withFullTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
56 |
57 | /// The date representation includes the hour, minute, and second.
58 | public static let withFullTime = ISOFormatter.Options(rawValue: 1 << 9)
| |- warning: static property 'withFullTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withFullTime' 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 |
60 | /// The format used for internet date times, according to the RFC 3339 standard.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:63:21: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
61 | /// Equivalent to specifying withFullDate, withFullTime, withDashSeparatorInDate,
62 | /// withColonSeparatorInTime, and withColonSeparatorInTimeZone.
63 | public static let withInternetDateTime = ISOFormatter.Options(rawValue: 1 << 10)
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' 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 | // The format used for internet date times; it's similar to .withInternetDateTime
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:67:21: warning: static property 'withInternetDateTimeExtended' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
65 | // The format used for internet date times; it's similar to .withInternetDateTime
66 | // but include milliseconds ('yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ').
67 | public static let withInternetDateTimeExtended = ISOFormatter.Options(rawValue: 1 << 11)
| |- warning: static property 'withInternetDateTimeExtended' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTimeExtended' 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
68 |
69 | /// Print the timezone in format `ZZZ` instead of `ZZZZZ`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:71:21: warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
69 | /// Print the timezone in format `ZZZ` instead of `ZZZZZ`
70 | /// An example outout maybe be `+0200` instead of `+02:00`.
71 | public static let withoutTZSeparators = ISOFormatter.Options(rawValue: 1 << 12)
| |- warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withoutTZSeparators' 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
72 |
73 | /// Evaluate formatting string
[13/39] Compiling SwiftDate ISOFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:27:21: warning: static property 'withYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
25 | /// - If withWeekOfYear is specified, YYYY is used.
26 | /// - Otherwise, yyyy is used.
27 | public static let withYear = ISOFormatter.Options(rawValue: 1 << 0)
| |- warning: static property 'withYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withYear' 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
28 |
29 | /// The date representation includes the month. The format for month is MM.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:30:21: warning: static property 'withMonth' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
28 |
29 | /// The date representation includes the month. The format for month is MM.
30 | public static let withMonth = ISOFormatter.Options(rawValue: 1 << 1)
| |- warning: static property 'withMonth' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withMonth' 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
31 |
32 | /// The date representation includes the week of the year.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:34:21: warning: static property 'withWeekOfYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
32 | /// The date representation includes the week of the year.
33 | /// The format for week of year is ww, including the W prefix.
34 | public static let withWeekOfYear = ISOFormatter.Options(rawValue: 1 << 2)
| |- warning: static property 'withWeekOfYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withWeekOfYear' 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
35 |
36 | /// The date representation includes the day. The format for day is inferred based on provided options:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:40:21: warning: static property 'withDay' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
38 | /// - If withWeekOfYear is specified, ee is used.
39 | /// - Otherwise, DDD is used.
40 | public static let withDay = ISOFormatter.Options(rawValue: 1 << 3)
| |- warning: static property 'withDay' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withDay' 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
41 |
42 | /// The date representation includes the time. The format for time is HH:mm:ss.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:43:21: warning: static property 'withTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
41 |
42 | /// The date representation includes the time. The format for time is HH:mm:ss.
43 | public static let withTime = ISOFormatter.Options(rawValue: 1 << 4)
| |- warning: static property 'withTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withTime' 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
44 |
45 | /// The date representation includes the timezone. The format for timezone is ZZZZZ.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:46:21: warning: static property 'withTimeZone' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
44 |
45 | /// The date representation includes the timezone. The format for timezone is ZZZZZ.
46 | public static let withTimeZone = ISOFormatter.Options(rawValue: 1 << 5)
| |- warning: static property 'withTimeZone' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withTimeZone' 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 | /// The date representation uses a space ( ) instead of T between the date and time.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:49:21: warning: static property 'withSpaceBetweenDateAndTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
47 |
48 | /// The date representation uses a space ( ) instead of T between the date and time.
49 | public static let withSpaceBetweenDateAndTime = ISOFormatter.Options(rawValue: 1 << 6)
| |- warning: static property 'withSpaceBetweenDateAndTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withSpaceBetweenDateAndTime' 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
50 |
51 | /// The date representation uses the dash separator (-) in the date.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:52:21: warning: static property 'withDashSeparatorInDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
50 |
51 | /// The date representation uses the dash separator (-) in the date.
52 | public static let withDashSeparatorInDate = ISOFormatter.Options(rawValue: 1 << 7)
| |- warning: static property 'withDashSeparatorInDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withDashSeparatorInDate' 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
53 |
54 | /// The date representation uses the colon separator (:) in the time.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:55:21: warning: static property 'withFullDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
53 |
54 | /// The date representation uses the colon separator (:) in the time.
55 | public static let withFullDate = ISOFormatter.Options(rawValue: 1 << 8)
| |- warning: static property 'withFullDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withFullDate' 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 | /// The date representation includes the hour, minute, and second.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:58:21: warning: static property 'withFullTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
56 |
57 | /// The date representation includes the hour, minute, and second.
58 | public static let withFullTime = ISOFormatter.Options(rawValue: 1 << 9)
| |- warning: static property 'withFullTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withFullTime' 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 |
60 | /// The format used for internet date times, according to the RFC 3339 standard.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:63:21: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
61 | /// Equivalent to specifying withFullDate, withFullTime, withDashSeparatorInDate,
62 | /// withColonSeparatorInTime, and withColonSeparatorInTimeZone.
63 | public static let withInternetDateTime = ISOFormatter.Options(rawValue: 1 << 10)
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' 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 | // The format used for internet date times; it's similar to .withInternetDateTime
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:67:21: warning: static property 'withInternetDateTimeExtended' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
65 | // The format used for internet date times; it's similar to .withInternetDateTime
66 | // but include milliseconds ('yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ').
67 | public static let withInternetDateTimeExtended = ISOFormatter.Options(rawValue: 1 << 11)
| |- warning: static property 'withInternetDateTimeExtended' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTimeExtended' 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
68 |
69 | /// Print the timezone in format `ZZZ` instead of `ZZZZZ`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:71:21: warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
69 | /// Print the timezone in format `ZZZ` instead of `ZZZZZ`
70 | /// An example outout maybe be `+0200` instead of `+02:00`.
71 | public static let withoutTZSeparators = ISOFormatter.Options(rawValue: 1 << 12)
| |- warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withoutTZSeparators' 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
72 |
73 | /// Evaluate formatting string
[14/39] Compiling SwiftDate ISOParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:27:21: warning: static property 'withYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
25 | /// - If withWeekOfYear is specified, YYYY is used.
26 | /// - Otherwise, yyyy is used.
27 | public static let withYear = ISOFormatter.Options(rawValue: 1 << 0)
| |- warning: static property 'withYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withYear' 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
28 |
29 | /// The date representation includes the month. The format for month is MM.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:30:21: warning: static property 'withMonth' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
28 |
29 | /// The date representation includes the month. The format for month is MM.
30 | public static let withMonth = ISOFormatter.Options(rawValue: 1 << 1)
| |- warning: static property 'withMonth' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withMonth' 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
31 |
32 | /// The date representation includes the week of the year.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:34:21: warning: static property 'withWeekOfYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
32 | /// The date representation includes the week of the year.
33 | /// The format for week of year is ww, including the W prefix.
34 | public static let withWeekOfYear = ISOFormatter.Options(rawValue: 1 << 2)
| |- warning: static property 'withWeekOfYear' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withWeekOfYear' 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
35 |
36 | /// The date representation includes the day. The format for day is inferred based on provided options:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:40:21: warning: static property 'withDay' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
38 | /// - If withWeekOfYear is specified, ee is used.
39 | /// - Otherwise, DDD is used.
40 | public static let withDay = ISOFormatter.Options(rawValue: 1 << 3)
| |- warning: static property 'withDay' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withDay' 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
41 |
42 | /// The date representation includes the time. The format for time is HH:mm:ss.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:43:21: warning: static property 'withTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
41 |
42 | /// The date representation includes the time. The format for time is HH:mm:ss.
43 | public static let withTime = ISOFormatter.Options(rawValue: 1 << 4)
| |- warning: static property 'withTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withTime' 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
44 |
45 | /// The date representation includes the timezone. The format for timezone is ZZZZZ.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:46:21: warning: static property 'withTimeZone' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
44 |
45 | /// The date representation includes the timezone. The format for timezone is ZZZZZ.
46 | public static let withTimeZone = ISOFormatter.Options(rawValue: 1 << 5)
| |- warning: static property 'withTimeZone' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withTimeZone' 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 | /// The date representation uses a space ( ) instead of T between the date and time.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:49:21: warning: static property 'withSpaceBetweenDateAndTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
47 |
48 | /// The date representation uses a space ( ) instead of T between the date and time.
49 | public static let withSpaceBetweenDateAndTime = ISOFormatter.Options(rawValue: 1 << 6)
| |- warning: static property 'withSpaceBetweenDateAndTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withSpaceBetweenDateAndTime' 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
50 |
51 | /// The date representation uses the dash separator (-) in the date.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:52:21: warning: static property 'withDashSeparatorInDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
50 |
51 | /// The date representation uses the dash separator (-) in the date.
52 | public static let withDashSeparatorInDate = ISOFormatter.Options(rawValue: 1 << 7)
| |- warning: static property 'withDashSeparatorInDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withDashSeparatorInDate' 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
53 |
54 | /// The date representation uses the colon separator (:) in the time.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:55:21: warning: static property 'withFullDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
53 |
54 | /// The date representation uses the colon separator (:) in the time.
55 | public static let withFullDate = ISOFormatter.Options(rawValue: 1 << 8)
| |- warning: static property 'withFullDate' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withFullDate' 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 | /// The date representation includes the hour, minute, and second.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:58:21: warning: static property 'withFullTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
56 |
57 | /// The date representation includes the hour, minute, and second.
58 | public static let withFullTime = ISOFormatter.Options(rawValue: 1 << 9)
| |- warning: static property 'withFullTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withFullTime' 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 |
60 | /// The format used for internet date times, according to the RFC 3339 standard.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:63:21: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
61 | /// Equivalent to specifying withFullDate, withFullTime, withDashSeparatorInDate,
62 | /// withColonSeparatorInTime, and withColonSeparatorInTimeZone.
63 | public static let withInternetDateTime = ISOFormatter.Options(rawValue: 1 << 10)
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' 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 | // The format used for internet date times; it's similar to .withInternetDateTime
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:67:21: warning: static property 'withInternetDateTimeExtended' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
65 | // The format used for internet date times; it's similar to .withInternetDateTime
66 | // but include milliseconds ('yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ').
67 | public static let withInternetDateTimeExtended = ISOFormatter.Options(rawValue: 1 << 11)
| |- warning: static property 'withInternetDateTimeExtended' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTimeExtended' 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
68 |
69 | /// Print the timezone in format `ZZZ` instead of `ZZZZZ`
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:71:21: warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
69 | /// Print the timezone in format `ZZZ` instead of `ZZZZZ`
70 | /// An example outout maybe be `+0200` instead of `+02:00`.
71 | public static let withoutTZSeparators = ISOFormatter.Options(rawValue: 1 << 12)
| |- warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withoutTZSeparators' 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
72 |
73 | /// Evaluate formatting string
[15/39] Compiling SwiftDate Int+DateComponents.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[16/39] Compiling SwiftDate String+Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[17/39] Compiling SwiftDate TimeInterval+Formatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[18/39] Compiling SwiftDate AssociatedValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[19/39] Compiling SwiftDate TimePeriodChain.swift
[20/39] Compiling SwiftDate TimePeriodCollection.swift
[21/39] Compiling SwiftDate TimePeriodGroup.swift
[22/39] Compiling SwiftDate Date.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[23/39] Compiling SwiftDate DateInRegion+Compare.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[24/39] Compiling SwiftDate DateInRegion+Components.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[25/39] Compiling SwiftDate DateInRegion+Create.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[26/39] Compiling SwiftDate RelativeFormatter+Style.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter.swift:18:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | public class RelativeFormatter: DateToStringTrasformable {
| `- note: class 'RelativeFormatter' does not conform to the 'Sendable' protocol
16 |
17 | /// Private singleton for relative formatter
18 | private static let shared = RelativeFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
19 |
20 | /// Return all languages supported by the library for relative date formatting
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatterLanguage.swift:17:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | internal class RelativeFormatterLanguagesCache {
| `- note: class 'RelativeFormatterLanguagesCache' does not conform to the 'Sendable' protocol
16 |
17 | static let shared = RelativeFormatterLanguagesCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
18 |
19 | private(set) var cachedValues = [String: [String: Any]]()
[27/39] Compiling SwiftDate RelativeFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter.swift:18:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | public class RelativeFormatter: DateToStringTrasformable {
| `- note: class 'RelativeFormatter' does not conform to the 'Sendable' protocol
16 |
17 | /// Private singleton for relative formatter
18 | private static let shared = RelativeFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
19 |
20 | /// Return all languages supported by the library for relative date formatting
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatterLanguage.swift:17:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | internal class RelativeFormatterLanguagesCache {
| `- note: class 'RelativeFormatterLanguagesCache' does not conform to the 'Sendable' protocol
16 |
17 | static let shared = RelativeFormatterLanguagesCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
18 |
19 | private(set) var cachedValues = [String: [String: Any]]()
[28/39] Compiling SwiftDate RelativeFormatterLanguage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter.swift:18:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | public class RelativeFormatter: DateToStringTrasformable {
| `- note: class 'RelativeFormatter' does not conform to the 'Sendable' protocol
16 |
17 | /// Private singleton for relative formatter
18 | private static let shared = RelativeFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
19 |
20 | /// Return all languages supported by the library for relative date formatting
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatterLanguage.swift:17:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | internal class RelativeFormatterLanguagesCache {
| `- note: class 'RelativeFormatterLanguagesCache' does not conform to the 'Sendable' protocol
16 |
17 | static let shared = RelativeFormatterLanguagesCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
18 |
19 | private(set) var cachedValues = [String: [String: Any]]()
[29/39] Compiling SwiftDate DateComponents+Extras.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter.swift:18:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | public class RelativeFormatter: DateToStringTrasformable {
| `- note: class 'RelativeFormatter' does not conform to the 'Sendable' protocol
16 |
17 | /// Private singleton for relative formatter
18 | private static let shared = RelativeFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
19 |
20 | /// Return all languages supported by the library for relative date formatting
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatterLanguage.swift:17:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | internal class RelativeFormatterLanguagesCache {
| `- note: class 'RelativeFormatterLanguagesCache' does not conform to the 'Sendable' protocol
16 |
17 | static let shared = RelativeFormatterLanguagesCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
18 |
19 | private(set) var cachedValues = [String: [String: Any]]()
[30/39] Compiling SwiftDate DateInRegion+Math.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:63:21: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
61 | /// Equivalent to specifying withFullDate, withFullTime, withDashSeparatorInDate,
62 | /// withColonSeparatorInTime, and withColonSeparatorInTimeZone.
63 | public static let withInternetDateTime = ISOFormatter.Options(rawValue: 1 << 10)
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' 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 | // The format used for internet date times; it's similar to .withInternetDateTime
[31/39] Compiling SwiftDate DateInRegion.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:63:21: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
61 | /// Equivalent to specifying withFullDate, withFullTime, withDashSeparatorInDate,
62 | /// withColonSeparatorInTime, and withColonSeparatorInTimeZone.
63 | public static let withInternetDateTime = ISOFormatter.Options(rawValue: 1 << 10)
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' 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 | // The format used for internet date times; it's similar to .withInternetDateTime
[32/39] Compiling SwiftDate Region.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:63:21: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
61 | /// Equivalent to specifying withFullDate, withFullTime, withDashSeparatorInDate,
62 | /// withColonSeparatorInTime, and withColonSeparatorInTimeZone.
63 | public static let withInternetDateTime = ISOFormatter.Options(rawValue: 1 << 10)
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' 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 | // The format used for internet date times; it's similar to .withInternetDateTime
[33/39] Compiling SwiftDate DateRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:63:21: warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
61 | /// Equivalent to specifying withFullDate, withFullTime, withDashSeparatorInDate,
62 | /// withColonSeparatorInTime, and withColonSeparatorInTimeZone.
63 | public static let withInternetDateTime = ISOFormatter.Options(rawValue: 1 << 10)
| |- warning: static property 'withInternetDateTime' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withInternetDateTime' 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 | // The format used for internet date times; it's similar to .withInternetDateTime
[34/39] Compiling SwiftDate Calendars.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Calendars.swift:45:1: warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
43 | // MARK: - Support for Calendar.Identifier encoding with Codable
44 |
45 | extension Calendar.Identifier: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
46 |
47 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' 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
123 |
124 | /// Default ISO8601 format string
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:190:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
188 |
189 | internal var nsCalendarUnit: NSCalendar.Unit {
190 | switch self {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
191 | case .era: return NSCalendar.Unit.era
192 | case .year: return NSCalendar.Unit.year
[35/39] Compiling SwiftDate Commons.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Calendars.swift:45:1: warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
43 | // MARK: - Support for Calendar.Identifier encoding with Codable
44 |
45 | extension Calendar.Identifier: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
46 |
47 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' 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
123 |
124 | /// Default ISO8601 format string
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:190:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
188 |
189 | internal var nsCalendarUnit: NSCalendar.Unit {
190 | switch self {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
191 | case .era: return NSCalendar.Unit.era
192 | case .year: return NSCalendar.Unit.year
[36/39] Compiling SwiftDate Locales.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Calendars.swift:45:1: warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
43 | // MARK: - Support for Calendar.Identifier encoding with Codable
44 |
45 | extension Calendar.Identifier: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
46 |
47 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' 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
123 |
124 | /// Default ISO8601 format string
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:190:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
188 |
189 | internal var nsCalendarUnit: NSCalendar.Unit {
190 | switch self {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
191 | case .era: return NSCalendar.Unit.era
192 | case .year: return NSCalendar.Unit.year
[37/39] Compiling SwiftDate TimeStructures.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' 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
123 |
124 | /// Default ISO8601 format string
[38/39] Compiling SwiftDate Zones.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' 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
123 |
124 | /// Default ISO8601 format string
[39/39] Compiling SwiftDate SwiftDate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' 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
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' 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
123 |
124 | /// Default ISO8601 format string
Build complete! (17.54s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftDate",
"name" : "SwiftDate",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftDate",
"targets" : [
"SwiftDate"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftDateTests",
"module_type" : "SwiftTarget",
"name" : "SwiftDateTests",
"path" : "Tests/SwiftDateTests",
"sources" : [
"TestDataStructures.swift",
"TestDate.swift",
"TestDateInRegion+Compare.swift",
"TestDateInRegion+Components.swift",
"TestDateInRegion+Create.swift",
"TestDateInRegion+Langs.swift",
"TestDateInRegion+Math.swift",
"TestDateInRegion.swift",
"TestFormatters.swift",
"TestRegion.swift",
"TestSwiftDate.swift"
],
"target_dependencies" : [
"SwiftDate"
],
"type" : "test"
},
{
"c99name" : "SwiftDate",
"module_type" : "SwiftTarget",
"name" : "SwiftDate",
"path" : "Sources/SwiftDate",
"product_memberships" : [
"SwiftDate"
],
"sources" : [
"Date/Date+Compare.swift",
"Date/Date+Components.swift",
"Date/Date+Create.swift",
"Date/Date+Math.swift",
"Date/Date.swift",
"DateInRegion/DateInRegion+Compare.swift",
"DateInRegion/DateInRegion+Components.swift",
"DateInRegion/DateInRegion+Create.swift",
"DateInRegion/DateInRegion+Math.swift",
"DateInRegion/DateInRegion.swift",
"DateInRegion/Region.swift",
"DateRepresentable.swift",
"Formatters/DotNetParserFormatter.swift",
"Formatters/Formatter+Protocols.swift",
"Formatters/ISOFormatter.swift",
"Formatters/ISOParser.swift",
"Formatters/RelativeFormatter/RelativeFormatter+Style.swift",
"Formatters/RelativeFormatter/RelativeFormatter.swift",
"Formatters/RelativeFormatter/RelativeFormatterLanguage.swift",
"Foundation+Extras/DateComponents+Extras.swift",
"Foundation+Extras/Int+DateComponents.swift",
"Foundation+Extras/String+Parser.swift",
"Foundation+Extras/TimeInterval+Formatter.swift",
"Supports/AssociatedValues.swift",
"Supports/Calendars.swift",
"Supports/Commons.swift",
"Supports/Locales.swift",
"Supports/TimeStructures.swift",
"Supports/Zones.swift",
"SwiftDate.swift",
"TimePeriod/Groups/TimePeriodChain.swift",
"TimePeriod/Groups/TimePeriodCollection.swift",
"TimePeriod/Groups/TimePeriodGroup.swift",
"TimePeriod/TimePeriod+Support.swift",
"TimePeriod/TimePeriod.swift",
"TimePeriod/TimePeriodProtocol.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.