Build Information
Successful build of SwiftDate, reference master (5d9432
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 16:27:31 UTC.
Swift 6 data race errors: 16
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/malcommac/SwiftDate.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/SwiftDate
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 5d94322 Bump 7.0.0
Cloned https://github.com/malcommac/SwiftDate.git
Revision (git rev-parse @):
5d943224c3bb173e6ecf27295611615eba90c80e
SUCCESS checkout https://github.com/malcommac/SwiftDate.git at master
========================================
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/malcommac/SwiftDate.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftDate",
"dependencies": [
]
}
]
}
Fetching https://github.com/malcommac/SwiftDate.git
[1/10202] Fetching swiftdate
Fetched https://github.com/malcommac/SwiftDate.git from cache (2.06s)
Creating working copy for https://github.com/malcommac/SwiftDate.git
Working copy of https://github.com/malcommac/SwiftDate.git resolved at master (5d94322)
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/malcommac/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/33] 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/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:145: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
143 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
144 | /// In order to reset the list call `resetAutoFormats()` function.
145 | 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
146 |
147 | /// Default ISO8601 format string
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:319:16: warning: static property 'appModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
317 | /// Returns the resource bundle associated with the current Swift module.
318 | /// This is used instead of `module` to allows compatibility outside the SwiftPM environment (ie. CocoaPods).
319 | static var appModule: Bundle? = {
| |- warning: static property 'appModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'appModule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'appModule' 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
320 | let bundleName = "SwiftDate_SwiftDate"
321 |
[4/36] 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
[5/36] 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
[6/36] 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
[7/36] Compiling SwiftDate TimePeriod+Support.swift
[8/36] Compiling SwiftDate TimePeriod.swift
[9/36] Compiling SwiftDate TimePeriodProtocol.swift
[10/36] Compiling SwiftDate Date+Compare.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:153:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
151 |
152 | private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
153 | 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'
154 | case .era:
155 | 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
[11/36] Compiling SwiftDate Date+Components.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:153:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
151 |
152 | private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
153 | 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'
154 | case .era:
155 | 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
[12/36] Compiling SwiftDate Date+Create.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:153:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
151 |
152 | private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
153 | 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'
154 | case .era:
155 | 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
[13/36] Compiling SwiftDate Date+Math.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:153:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
151 |
152 | private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
153 | 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'
154 | case .era:
155 | 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
[14/36] 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
[15/36] 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
[16/36] 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
[17/36] 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
[18/36] 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:145: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
143 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
144 | /// In order to reset the list call `resetAutoFormats()` function.
145 | 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
146 |
147 | /// Default ISO8601 format string
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:319:16: warning: static property 'appModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
317 | /// Returns the resource bundle associated with the current Swift module.
318 | /// This is used instead of `module` to allows compatibility outside the SwiftPM environment (ie. CocoaPods).
319 | static var appModule: Bundle? = {
| |- warning: static property 'appModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'appModule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'appModule' 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
320 | let bundleName = "SwiftDate_SwiftDate"
321 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:213:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
211 |
212 | internal var nsCalendarUnit: NSCalendar.Unit {
213 | 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'
214 | case .era: return NSCalendar.Unit.era
215 | case .year: return NSCalendar.Unit.year
[19/36] 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:145: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
143 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
144 | /// In order to reset the list call `resetAutoFormats()` function.
145 | 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
146 |
147 | /// Default ISO8601 format string
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:319:16: warning: static property 'appModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
317 | /// Returns the resource bundle associated with the current Swift module.
318 | /// This is used instead of `module` to allows compatibility outside the SwiftPM environment (ie. CocoaPods).
319 | static var appModule: Bundle? = {
| |- warning: static property 'appModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'appModule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'appModule' 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
320 | let bundleName = "SwiftDate_SwiftDate"
321 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:213:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
211 |
212 | internal var nsCalendarUnit: NSCalendar.Unit {
213 | 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'
214 | case .era: return NSCalendar.Unit.era
215 | case .year: return NSCalendar.Unit.year
[20/36] 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:145: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
143 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
144 | /// In order to reset the list call `resetAutoFormats()` function.
145 | 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
146 |
147 | /// Default ISO8601 format string
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:319:16: warning: static property 'appModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
317 | /// Returns the resource bundle associated with the current Swift module.
318 | /// This is used instead of `module` to allows compatibility outside the SwiftPM environment (ie. CocoaPods).
319 | static var appModule: Bundle? = {
| |- warning: static property 'appModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'appModule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'appModule' 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
320 | let bundleName = "SwiftDate_SwiftDate"
321 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:213:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
211 |
212 | internal var nsCalendarUnit: NSCalendar.Unit {
213 | 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'
214 | case .era: return NSCalendar.Unit.era
215 | case .year: return NSCalendar.Unit.year
[21/36] Compiling SwiftDate DotNetParserFormatter.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: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
[22/36] Compiling SwiftDate Formatter+Protocols.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: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
[23/36] Compiling SwiftDate ISOFormatter.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: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
[24/36] Compiling SwiftDate ISOParser.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/36] Compiling SwiftDate DateComponents+Extras.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/36] 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
[27/36] Compiling SwiftDate TimePeriodChain.swift
[28/36] Compiling SwiftDate TimePeriodCollection.swift
[29/36] Compiling SwiftDate TimePeriodGroup.swift
[30/36] 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:145: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
143 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
144 | /// In order to reset the list call `resetAutoFormats()` function.
145 | 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
146 |
147 | /// Default ISO8601 format string
[31/36] 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:145: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
143 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
144 | /// In order to reset the list call `resetAutoFormats()` function.
145 | 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
146 |
147 | /// Default ISO8601 format string
[32/36] 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:145: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
143 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
144 | /// In order to reset the list call `resetAutoFormats()` function.
145 | 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
146 |
147 | /// Default ISO8601 format string
[33/36] 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
[34/36] 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
[35/36] 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
[36/36] 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
Build complete! (16.04s)
warning: 'spi-builder-workspace': Invalid Resource 'Formatters/RelativeFormatter/langs': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
Build complete.
{
"default_localization" : "it",
"dependencies" : [
],
"manifest_display_name" : "SwiftDate",
"name" : "SwiftDate",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"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+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",
"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" : "5.5"
}
warning: 'spi-builder-workspace': Invalid Resource 'Formatters/RelativeFormatter/langs': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
Done.