Build Information
Successful build of SwiftDate with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 16
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/malcommac/SwiftDate.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 TimePeriod+Support.swift
[5/36] Compiling SwiftDate TimePeriod.swift
[6/36] Compiling SwiftDate TimePeriodProtocol.swift
[7/36] Compiling SwiftDate TimePeriodChain.swift
[8/36] Compiling SwiftDate TimePeriodCollection.swift
[9/36] Compiling SwiftDate TimePeriodGroup.swift
[10/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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
[11/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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
[12/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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
[13/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 non-isolated 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 non-isolated 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
[14/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 non-isolated 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 non-isolated 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
[15/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 non-isolated 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 non-isolated 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
[16/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 non-isolated 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 non-isolated 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
[17/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 non-isolated 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 non-isolated 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
[18/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 non-isolated 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 non-isolated 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
[19/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 non-isolated 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 non-isolated 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
[20/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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'
214 | case .era: return NSCalendar.Unit.era
215 | case .year: return NSCalendar.Unit.year
[21/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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'
214 | case .era: return NSCalendar.Unit.era
215 | case .year: return NSCalendar.Unit.year
[22/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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'
214 | case .era: return NSCalendar.Unit.era
215 | case .year: return NSCalendar.Unit.year
[23/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 non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[24/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 non-isolated 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 non-isolated 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 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 non-isolated 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 non-isolated 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 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 non-isolated 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 non-isolated 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 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 non-isolated 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 non-isolated 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
[28/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 non-isolated 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 non-isolated 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
[29/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 non-isolated 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 non-isolated 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
[30/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 non-isolated 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 non-isolated 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
[31/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 non-isolated 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 non-isolated 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
[32/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 non-isolated 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 non-isolated 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
[33/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'
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 non-isolated 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 non-isolated 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
[34/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'
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 non-isolated 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 non-isolated 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
[35/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'
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 non-isolated 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 non-isolated 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
[36/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'
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 non-isolated 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 non-isolated 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
Build complete! (23.65s)
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.