Build Information
Successful build of SwiftDate, reference master (d436a2
), with Swift 6.0 for Linux on 4 Nov 2024 03:18:43 UTC.
Swift 6 data race errors: 17
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewag/SwiftDate.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/drewag/SwiftDate
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d436a26 [BF] Fix build
Cloned https://github.com/drewag/SwiftDate.git
Revision (git rev-parse @):
d436a26e2350ce39540d8d98568036b3793a8320
SUCCESS checkout https://github.com/drewag/SwiftDate.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/drewag/SwiftDate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/35] Emitting module SwiftDate
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/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.
/host/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.
/host/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:
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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
/host/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`
/host/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
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter.swift:18:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | public class RelativeFormatter: DateToStringTrasformable {
| `- note: class 'RelativeFormatter' does not conform to the 'Sendable' protocol
16 |
17 | /// Private singleton for relative formatter
18 | private static let shared = RelativeFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Return all languages supported by the library for relative date formatting
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatterLanguage.swift:17:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | internal class RelativeFormatterLanguagesCache {
| `- note: class 'RelativeFormatterLanguagesCache' does not conform to the 'Sendable' protocol
16 |
17 | static let shared = RelativeFormatterLanguagesCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private(set) var cachedValues = [String: [String: Any]]()
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
46 |
47 | public var description: String {
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /// Default ISO8601 format string
[4/39] Compiling SwiftDate Int+DateComponents.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[5/39] Compiling SwiftDate String+Parser.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[6/39] Compiling SwiftDate TimeInterval+Formatter.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[7/39] Compiling SwiftDate AssociatedValues.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[8/39] Compiling SwiftDate DateInRegion+Compare.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[9/39] Compiling SwiftDate DateInRegion+Components.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[10/39] Compiling SwiftDate DateInRegion+Create.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[11/39] Compiling SwiftDate DateInRegion+Math.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[12/39] Compiling SwiftDate DateInRegion.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[13/39] Compiling SwiftDate Date+Compare.swift
/host/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
141 |
142 | private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 | switch component {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
144 | case .era:
145 | return dateComponents.era
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[14/39] Compiling SwiftDate Date+Components.swift
/host/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
141 |
142 | private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 | switch component {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
144 | case .era:
145 | return dateComponents.era
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[15/39] Compiling SwiftDate Date+Create.swift
/host/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
141 |
142 | private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 | switch component {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
144 | case .era:
145 | return dateComponents.era
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[16/39] Compiling SwiftDate Date+Math.swift
/host/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
141 |
142 | private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 | switch component {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
144 | case .era:
145 | return dateComponents.era
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[17/39] Compiling SwiftDate Date.swift
/host/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
141 |
142 | private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 | switch component {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
144 | case .era:
145 | return dateComponents.era
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
[18/39] Compiling SwiftDate TimePeriodGroup.swift
[19/39] Compiling SwiftDate TimePeriod+Support.swift
[20/39] Compiling SwiftDate TimePeriod.swift
[21/39] Compiling SwiftDate TimePeriodProtocol.swift
[22/39] Compiling SwiftDate Region.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/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
/host/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.
/host/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.
/host/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:
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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`
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:71:21: warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
69 | /// Print the timezone in format `ZZZ` instead of `ZZZZZ`
70 | /// An example outout maybe be `+0200` instead of `+02:00`.
71 | public static let withoutTZSeparators = ISOFormatter.Options(rawValue: 1 << 12)
| |- warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withoutTZSeparators' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// Evaluate formatting string
[23/39] Compiling SwiftDate DateRepresentable.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/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
/host/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.
/host/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.
/host/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:
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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`
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/ISOFormatter.swift:71:21: warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public class ISOFormatter: DateToStringTrasformable {
16 |
17 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
69 | /// Print the timezone in format `ZZZ` instead of `ZZZZZ`
70 | /// An example outout maybe be `+0200` instead of `+02:00`.
71 | public static let withoutTZSeparators = ISOFormatter.Options(rawValue: 1 << 12)
| |- warning: static property 'withoutTZSeparators' is not concurrency-safe because non-'Sendable' type 'ISOFormatter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'withoutTZSeparators' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// Evaluate formatting string
[24/39] Compiling SwiftDate DotNetParserFormatter.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/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
/host/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.
/host/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.
/host/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:
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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`
/host/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
[25/39] Compiling SwiftDate Formatter+Protocols.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/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
/host/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.
/host/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.
/host/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:
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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`
/host/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
[26/39] Compiling SwiftDate ISOFormatter.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/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
/host/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.
/host/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.
/host/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:
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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`
/host/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
[27/39] Compiling SwiftDate ISOParser.swift
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter.swift:18:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | public class RelativeFormatter: DateToStringTrasformable {
| `- note: class 'RelativeFormatter' does not conform to the 'Sendable' protocol
16 |
17 | /// Private singleton for relative formatter
18 | private static let shared = RelativeFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Return all languages supported by the library for relative date formatting
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatterLanguage.swift:17:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | internal class RelativeFormatterLanguagesCache {
| `- note: class 'RelativeFormatterLanguagesCache' does not conform to the 'Sendable' protocol
16 |
17 | static let shared = RelativeFormatterLanguagesCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private(set) var cachedValues = [String: [String: Any]]()
[28/39] Compiling SwiftDate RelativeFormatter+Style.swift
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter.swift:18:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | public class RelativeFormatter: DateToStringTrasformable {
| `- note: class 'RelativeFormatter' does not conform to the 'Sendable' protocol
16 |
17 | /// Private singleton for relative formatter
18 | private static let shared = RelativeFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Return all languages supported by the library for relative date formatting
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatterLanguage.swift:17:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | internal class RelativeFormatterLanguagesCache {
| `- note: class 'RelativeFormatterLanguagesCache' does not conform to the 'Sendable' protocol
16 |
17 | static let shared = RelativeFormatterLanguagesCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private(set) var cachedValues = [String: [String: Any]]()
[29/39] Compiling SwiftDate RelativeFormatter.swift
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter.swift:18:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | public class RelativeFormatter: DateToStringTrasformable {
| `- note: class 'RelativeFormatter' does not conform to the 'Sendable' protocol
16 |
17 | /// Private singleton for relative formatter
18 | private static let shared = RelativeFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Return all languages supported by the library for relative date formatting
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatterLanguage.swift:17:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | internal class RelativeFormatterLanguagesCache {
| `- note: class 'RelativeFormatterLanguagesCache' does not conform to the 'Sendable' protocol
16 |
17 | static let shared = RelativeFormatterLanguagesCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private(set) var cachedValues = [String: [String: Any]]()
[30/39] Compiling SwiftDate RelativeFormatterLanguage.swift
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter.swift:18:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | public class RelativeFormatter: DateToStringTrasformable {
| `- note: class 'RelativeFormatter' does not conform to the 'Sendable' protocol
16 |
17 | /// Private singleton for relative formatter
18 | private static let shared = RelativeFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Return all languages supported by the library for relative date formatting
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatterLanguage.swift:17:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | internal class RelativeFormatterLanguagesCache {
| `- note: class 'RelativeFormatterLanguagesCache' does not conform to the 'Sendable' protocol
16 |
17 | static let shared = RelativeFormatterLanguagesCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private(set) var cachedValues = [String: [String: Any]]()
[31/39] Compiling SwiftDate DateComponents+Extras.swift
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter.swift:18:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | public class RelativeFormatter: DateToStringTrasformable {
| `- note: class 'RelativeFormatter' does not conform to the 'Sendable' protocol
16 |
17 | /// Private singleton for relative formatter
18 | private static let shared = RelativeFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Return all languages supported by the library for relative date formatting
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/spi-builder-workspace/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatterLanguage.swift:17:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Foundation
14 |
15 | internal class RelativeFormatterLanguagesCache {
| `- note: class 'RelativeFormatterLanguagesCache' does not conform to the 'Sendable' protocol
16 |
17 | static let shared = RelativeFormatterLanguagesCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RelativeFormatterLanguagesCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private(set) var cachedValues = [String: [String: Any]]()
[32/39] Compiling SwiftDate Calendars.swift
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
46 |
47 | public var description: String {
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /// Default ISO8601 format string
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:190:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
188 |
189 | internal var nsCalendarUnit: NSCalendar.Unit {
190 | switch self {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
191 | case .era: return NSCalendar.Unit.era
192 | case .year: return NSCalendar.Unit.year
[33/39] Compiling SwiftDate Commons.swift
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
46 |
47 | public var description: String {
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /// Default ISO8601 format string
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:190:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
188 |
189 | internal var nsCalendarUnit: NSCalendar.Unit {
190 | switch self {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
191 | case .era: return NSCalendar.Unit.era
192 | case .year: return NSCalendar.Unit.year
[34/39] Compiling SwiftDate Locales.swift
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
46 |
47 | public var description: String {
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /// Default ISO8601 format string
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:190:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
188 |
189 | internal var nsCalendarUnit: NSCalendar.Unit {
190 | switch self {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
191 | case .era: return NSCalendar.Unit.era
192 | case .year: return NSCalendar.Unit.year
[35/39] Compiling SwiftDate TimeStructures.swift
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
46 |
47 | public var description: String {
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /// Default ISO8601 format string
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:190:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
188 |
189 | internal var nsCalendarUnit: NSCalendar.Unit {
190 | switch self {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
191 | case .era: return NSCalendar.Unit.era
192 | case .year: return NSCalendar.Unit.year
[36/39] Compiling SwiftDate Zones.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /// Default ISO8601 format string
[37/39] Compiling SwiftDate SwiftDate.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /// Default ISO8601 format string
[38/39] Compiling SwiftDate TimePeriodChain.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /// Default ISO8601 format string
[39/39] Compiling SwiftDate TimePeriodCollection.swift
/host/spi-builder-workspace/Sources/SwiftDate/SwiftDate.swift:22:20: warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | /// wherever a region parameter is optional. By default region is the to GMT timezone
21 | /// along with the default device's locale and calendar (both autoupdating).
22 | public static var defaultRegion = Region.UTC
| |- warning: static property 'defaultRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRegion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultRegion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is the ordered list of all formats SwiftDate can use in order to attempt parsing a passaed
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:122:20: warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// date expressed as string. Evaluation is made in order; you can add or remove new formats as you wish.
121 | /// In order to reset the list call `resetAutoFormats()` function.
122 | public static var autoFormats: [String] = DateFormats.builtInAutoFormat
| |- warning: static property 'autoFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoFormats' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /// Default ISO8601 format string
Build complete! (13.79s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftDate",
"name" : "SwiftDate",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftDate",
"targets" : [
"SwiftDate"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftDateTests",
"module_type" : "SwiftTarget",
"name" : "SwiftDateTests",
"path" : "Tests/SwiftDateTests",
"sources" : [
"TestDataStructures.swift",
"TestDate.swift",
"TestDateInRegion+Compare.swift",
"TestDateInRegion+Components.swift",
"TestDateInRegion+Create.swift",
"TestDateInRegion+Langs.swift",
"TestDateInRegion+Math.swift",
"TestDateInRegion.swift",
"TestFormatters.swift",
"TestRegion.swift",
"TestSwiftDate.swift"
],
"target_dependencies" : [
"SwiftDate"
],
"type" : "test"
},
{
"c99name" : "SwiftDate",
"module_type" : "SwiftTarget",
"name" : "SwiftDate",
"path" : "Sources/SwiftDate",
"product_memberships" : [
"SwiftDate"
],
"sources" : [
"Date/Date+Compare.swift",
"Date/Date+Components.swift",
"Date/Date+Create.swift",
"Date/Date+Math.swift",
"Date/Date.swift",
"DateInRegion/DateInRegion+Compare.swift",
"DateInRegion/DateInRegion+Components.swift",
"DateInRegion/DateInRegion+Create.swift",
"DateInRegion/DateInRegion+Math.swift",
"DateInRegion/DateInRegion.swift",
"DateInRegion/Region.swift",
"DateRepresentable.swift",
"Formatters/DotNetParserFormatter.swift",
"Formatters/Formatter+Protocols.swift",
"Formatters/ISOFormatter.swift",
"Formatters/ISOParser.swift",
"Formatters/RelativeFormatter/RelativeFormatter+Style.swift",
"Formatters/RelativeFormatter/RelativeFormatter.swift",
"Formatters/RelativeFormatter/RelativeFormatterLanguage.swift",
"Foundation+Extras/DateComponents+Extras.swift",
"Foundation+Extras/Int+DateComponents.swift",
"Foundation+Extras/String+Parser.swift",
"Foundation+Extras/TimeInterval+Formatter.swift",
"Supports/AssociatedValues.swift",
"Supports/Calendars.swift",
"Supports/Commons.swift",
"Supports/Locales.swift",
"Supports/TimeStructures.swift",
"Supports/Zones.swift",
"SwiftDate.swift",
"TimePeriod/Groups/TimePeriodChain.swift",
"TimePeriod/Groups/TimePeriodCollection.swift",
"TimePeriod/Groups/TimePeriodGroup.swift",
"TimePeriod/TimePeriod+Support.swift",
"TimePeriod/TimePeriod.swift",
"TimePeriod/TimePeriodProtocol.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.