Build Information
Successful build of Swiftlier with Swift 6.0 for Linux.
Swift 6 data race errors: 24
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[51/65] Compiling Swiftlier ObservableArray.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[52/65] Compiling Swiftlier ObservableDictionary.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[53/65] Compiling Swiftlier ObservableReference.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[54/65] Compiling Swiftlier JSON.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[55/65] Compiling Swiftlier NativeTypesStructured.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[56/65] Compiling Swiftlier Structured.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[57/65] Compiling Swiftlier XML.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:36:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
34 | }
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
38 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/Observable.swift:37:23: warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | Options for observing an observable
28 | */
29 | public struct ObservationOptions: OptionSet {
| `- note: consider making struct 'ObservationOptions' conform to the 'Sendable' protocol
30 | public let rawValue: Int
31 |
:
35 |
36 | public static let initial = ObservationOptions(rawValue: 1 << 0)
37 | public static let onlyOnce = ObservationOptions(rawValue: 1 << 1)
| |- warning: static property 'onlyOnce' is not concurrency-safe because non-'Sendable' type 'ObservationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyOnce' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
[58/65] Compiling Swiftlier ValueTypePersistenceService.swift
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:11:13: warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| `- warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| |- note: annotate 'dateAndTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:18:13: warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }()
17 |
18 | private let timeFormatter: DateFormatter = {
| |- warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'timeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
20 | dateFormatter.timeStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:24:13: warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }()
23 |
24 | private let dateFormatter: DateFormatter = {
| |- warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | var dateFormatter = DateFormatter()
26 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:31:13: warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | }()
30 |
31 | private let shortDateFormatter: DateFormatter = {
| |- warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | var dateFormatter = DateFormatter()
33 | dateFormatter.setLocalizedDateFormatFromTemplate("MMddyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:37:13: warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }()
36 |
37 | private let shortestDateFormatter: DateFormatter = {
| |- warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortestDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | var dateFormatter = DateFormatter()
39 | dateFormatter.dateStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:43:13: warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }()
42 |
43 | private let dayAndMonthFormatter: DateFormatter = {
| |- warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dayAndMonthFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
45 | dateFormatter.setLocalizedDateFormatFromTemplate("MMdd")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:49:13: warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }()
48 |
49 | private let monthAndYearFormatter: DateFormatter = {
| |- warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
51 | dateFormatter.setLocalizedDateFormatFromTemplate("MMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:55:13: warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }()
54 |
55 | private let longMonthAndYearFormatter: DateFormatter = {
| |- warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'longMonthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
57 | dateFormatter.setLocalizedDateFormatFromTemplate("MMMMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:61:13: warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | private let monthFormatter: DateFormatter = {
| |- warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var dateFormatter = DateFormatter()
63 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:68:13: warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }()
67 |
68 | private let yearFormatter: DateFormatter = {
| |- warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yearFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | var dateFormatter = DateFormatter()
70 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:75:13: warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
73 | }()
74 |
75 | private let gmtDateTimeFormatter: DateFormatter = {
| |- warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gmtDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | let dateFormatter = DateFormatter()
77 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:83:13: warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }()
82 |
83 | private let railsDateTimeFormatter: DateFormatter = {
| |- warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | var dateFormatter = DateFormatter()
85 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:92:12: warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
90 | }()
91 |
92 | public let ISO8601DateTimeFormatters: [DateFormatter] = {
| |- warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ISO8601DateTimeFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | var dateFormatter1 = DateFormatter()
94 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:122:13: warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
120 | }()
121 |
122 | private let localIso8601DateTimeFormatter: DateFormatter = {
| |- warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localIso8601DateTimeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
124 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'S"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:129:13: warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
127 | }()
128 |
129 | private let railsDateFormatter: DateFormatter = {
| |- warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | var dateFormatter = DateFormatter()
131 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:135:13: warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }()
134 |
135 | private let authTokenDate: DateFormatter = {
| |- warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authTokenDate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | var dateFormatter = DateFormatter()
137 | dateFormatter.dateFormat = "ddMMyyyy"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:141:13: warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }()
140 |
141 | private let preciseTimeFormatter: DateFormatter = {
| |- warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preciseTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | var dateFormatter = DateFormatter()
143 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[59/65] Compiling Swiftlier Bool+Formatting.swift
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:11:13: warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| `- warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| |- note: annotate 'dateAndTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:18:13: warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }()
17 |
18 | private let timeFormatter: DateFormatter = {
| |- warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'timeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
20 | dateFormatter.timeStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:24:13: warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }()
23 |
24 | private let dateFormatter: DateFormatter = {
| |- warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | var dateFormatter = DateFormatter()
26 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:31:13: warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | }()
30 |
31 | private let shortDateFormatter: DateFormatter = {
| |- warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | var dateFormatter = DateFormatter()
33 | dateFormatter.setLocalizedDateFormatFromTemplate("MMddyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:37:13: warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }()
36 |
37 | private let shortestDateFormatter: DateFormatter = {
| |- warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortestDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | var dateFormatter = DateFormatter()
39 | dateFormatter.dateStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:43:13: warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }()
42 |
43 | private let dayAndMonthFormatter: DateFormatter = {
| |- warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dayAndMonthFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
45 | dateFormatter.setLocalizedDateFormatFromTemplate("MMdd")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:49:13: warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }()
48 |
49 | private let monthAndYearFormatter: DateFormatter = {
| |- warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
51 | dateFormatter.setLocalizedDateFormatFromTemplate("MMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:55:13: warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }()
54 |
55 | private let longMonthAndYearFormatter: DateFormatter = {
| |- warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'longMonthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
57 | dateFormatter.setLocalizedDateFormatFromTemplate("MMMMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:61:13: warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | private let monthFormatter: DateFormatter = {
| |- warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var dateFormatter = DateFormatter()
63 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:68:13: warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }()
67 |
68 | private let yearFormatter: DateFormatter = {
| |- warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yearFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | var dateFormatter = DateFormatter()
70 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:75:13: warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
73 | }()
74 |
75 | private let gmtDateTimeFormatter: DateFormatter = {
| |- warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gmtDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | let dateFormatter = DateFormatter()
77 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:83:13: warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }()
82 |
83 | private let railsDateTimeFormatter: DateFormatter = {
| |- warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | var dateFormatter = DateFormatter()
85 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:92:12: warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
90 | }()
91 |
92 | public let ISO8601DateTimeFormatters: [DateFormatter] = {
| |- warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ISO8601DateTimeFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | var dateFormatter1 = DateFormatter()
94 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:122:13: warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
120 | }()
121 |
122 | private let localIso8601DateTimeFormatter: DateFormatter = {
| |- warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localIso8601DateTimeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
124 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'S"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:129:13: warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
127 | }()
128 |
129 | private let railsDateFormatter: DateFormatter = {
| |- warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | var dateFormatter = DateFormatter()
131 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:135:13: warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }()
134 |
135 | private let authTokenDate: DateFormatter = {
| |- warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authTokenDate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | var dateFormatter = DateFormatter()
137 | dateFormatter.dateFormat = "ddMMyyyy"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:141:13: warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }()
140 |
141 | private let preciseTimeFormatter: DateFormatter = {
| |- warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preciseTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | var dateFormatter = DateFormatter()
143 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[60/65] Compiling Swiftlier Data+Base64.swift
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:11:13: warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| `- warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| |- note: annotate 'dateAndTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:18:13: warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }()
17 |
18 | private let timeFormatter: DateFormatter = {
| |- warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'timeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
20 | dateFormatter.timeStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:24:13: warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }()
23 |
24 | private let dateFormatter: DateFormatter = {
| |- warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | var dateFormatter = DateFormatter()
26 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:31:13: warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | }()
30 |
31 | private let shortDateFormatter: DateFormatter = {
| |- warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | var dateFormatter = DateFormatter()
33 | dateFormatter.setLocalizedDateFormatFromTemplate("MMddyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:37:13: warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }()
36 |
37 | private let shortestDateFormatter: DateFormatter = {
| |- warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortestDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | var dateFormatter = DateFormatter()
39 | dateFormatter.dateStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:43:13: warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }()
42 |
43 | private let dayAndMonthFormatter: DateFormatter = {
| |- warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dayAndMonthFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
45 | dateFormatter.setLocalizedDateFormatFromTemplate("MMdd")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:49:13: warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }()
48 |
49 | private let monthAndYearFormatter: DateFormatter = {
| |- warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
51 | dateFormatter.setLocalizedDateFormatFromTemplate("MMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:55:13: warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }()
54 |
55 | private let longMonthAndYearFormatter: DateFormatter = {
| |- warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'longMonthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
57 | dateFormatter.setLocalizedDateFormatFromTemplate("MMMMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:61:13: warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | private let monthFormatter: DateFormatter = {
| |- warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var dateFormatter = DateFormatter()
63 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:68:13: warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }()
67 |
68 | private let yearFormatter: DateFormatter = {
| |- warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yearFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | var dateFormatter = DateFormatter()
70 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:75:13: warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
73 | }()
74 |
75 | private let gmtDateTimeFormatter: DateFormatter = {
| |- warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gmtDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | let dateFormatter = DateFormatter()
77 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:83:13: warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }()
82 |
83 | private let railsDateTimeFormatter: DateFormatter = {
| |- warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | var dateFormatter = DateFormatter()
85 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:92:12: warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
90 | }()
91 |
92 | public let ISO8601DateTimeFormatters: [DateFormatter] = {
| |- warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ISO8601DateTimeFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | var dateFormatter1 = DateFormatter()
94 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:122:13: warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
120 | }()
121 |
122 | private let localIso8601DateTimeFormatter: DateFormatter = {
| |- warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localIso8601DateTimeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
124 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'S"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:129:13: warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
127 | }()
128 |
129 | private let railsDateFormatter: DateFormatter = {
| |- warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | var dateFormatter = DateFormatter()
131 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:135:13: warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }()
134 |
135 | private let authTokenDate: DateFormatter = {
| |- warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authTokenDate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | var dateFormatter = DateFormatter()
137 | dateFormatter.dateFormat = "ddMMyyyy"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:141:13: warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }()
140 |
141 | private let preciseTimeFormatter: DateFormatter = {
| |- warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preciseTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | var dateFormatter = DateFormatter()
143 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[61/65] Compiling Swiftlier Date+Formatting.swift
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:11:13: warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| `- warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| |- note: annotate 'dateAndTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:18:13: warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }()
17 |
18 | private let timeFormatter: DateFormatter = {
| |- warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'timeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
20 | dateFormatter.timeStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:24:13: warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }()
23 |
24 | private let dateFormatter: DateFormatter = {
| |- warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | var dateFormatter = DateFormatter()
26 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:31:13: warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | }()
30 |
31 | private let shortDateFormatter: DateFormatter = {
| |- warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | var dateFormatter = DateFormatter()
33 | dateFormatter.setLocalizedDateFormatFromTemplate("MMddyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:37:13: warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }()
36 |
37 | private let shortestDateFormatter: DateFormatter = {
| |- warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortestDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | var dateFormatter = DateFormatter()
39 | dateFormatter.dateStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:43:13: warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }()
42 |
43 | private let dayAndMonthFormatter: DateFormatter = {
| |- warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dayAndMonthFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
45 | dateFormatter.setLocalizedDateFormatFromTemplate("MMdd")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:49:13: warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }()
48 |
49 | private let monthAndYearFormatter: DateFormatter = {
| |- warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
51 | dateFormatter.setLocalizedDateFormatFromTemplate("MMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:55:13: warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }()
54 |
55 | private let longMonthAndYearFormatter: DateFormatter = {
| |- warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'longMonthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
57 | dateFormatter.setLocalizedDateFormatFromTemplate("MMMMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:61:13: warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | private let monthFormatter: DateFormatter = {
| |- warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var dateFormatter = DateFormatter()
63 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:68:13: warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }()
67 |
68 | private let yearFormatter: DateFormatter = {
| |- warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yearFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | var dateFormatter = DateFormatter()
70 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:75:13: warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
73 | }()
74 |
75 | private let gmtDateTimeFormatter: DateFormatter = {
| |- warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gmtDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | let dateFormatter = DateFormatter()
77 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:83:13: warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }()
82 |
83 | private let railsDateTimeFormatter: DateFormatter = {
| |- warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | var dateFormatter = DateFormatter()
85 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:92:12: warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
90 | }()
91 |
92 | public let ISO8601DateTimeFormatters: [DateFormatter] = {
| |- warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ISO8601DateTimeFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | var dateFormatter1 = DateFormatter()
94 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:122:13: warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
120 | }()
121 |
122 | private let localIso8601DateTimeFormatter: DateFormatter = {
| |- warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localIso8601DateTimeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
124 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'S"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:129:13: warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
127 | }()
128 |
129 | private let railsDateFormatter: DateFormatter = {
| |- warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | var dateFormatter = DateFormatter()
131 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:135:13: warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }()
134 |
135 | private let authTokenDate: DateFormatter = {
| |- warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authTokenDate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | var dateFormatter = DateFormatter()
137 | dateFormatter.dateFormat = "ddMMyyyy"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:141:13: warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }()
140 |
141 | private let preciseTimeFormatter: DateFormatter = {
| |- warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preciseTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | var dateFormatter = DateFormatter()
143 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[62/65] Compiling Swiftlier Double+Formatting.swift
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:11:13: warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| `- warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| |- note: annotate 'dateAndTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:18:13: warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }()
17 |
18 | private let timeFormatter: DateFormatter = {
| |- warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'timeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
20 | dateFormatter.timeStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:24:13: warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }()
23 |
24 | private let dateFormatter: DateFormatter = {
| |- warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | var dateFormatter = DateFormatter()
26 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:31:13: warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | }()
30 |
31 | private let shortDateFormatter: DateFormatter = {
| |- warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | var dateFormatter = DateFormatter()
33 | dateFormatter.setLocalizedDateFormatFromTemplate("MMddyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:37:13: warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }()
36 |
37 | private let shortestDateFormatter: DateFormatter = {
| |- warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortestDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | var dateFormatter = DateFormatter()
39 | dateFormatter.dateStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:43:13: warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }()
42 |
43 | private let dayAndMonthFormatter: DateFormatter = {
| |- warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dayAndMonthFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
45 | dateFormatter.setLocalizedDateFormatFromTemplate("MMdd")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:49:13: warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }()
48 |
49 | private let monthAndYearFormatter: DateFormatter = {
| |- warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
51 | dateFormatter.setLocalizedDateFormatFromTemplate("MMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:55:13: warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }()
54 |
55 | private let longMonthAndYearFormatter: DateFormatter = {
| |- warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'longMonthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
57 | dateFormatter.setLocalizedDateFormatFromTemplate("MMMMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:61:13: warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | private let monthFormatter: DateFormatter = {
| |- warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var dateFormatter = DateFormatter()
63 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:68:13: warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }()
67 |
68 | private let yearFormatter: DateFormatter = {
| |- warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yearFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | var dateFormatter = DateFormatter()
70 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:75:13: warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
73 | }()
74 |
75 | private let gmtDateTimeFormatter: DateFormatter = {
| |- warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gmtDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | let dateFormatter = DateFormatter()
77 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:83:13: warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }()
82 |
83 | private let railsDateTimeFormatter: DateFormatter = {
| |- warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | var dateFormatter = DateFormatter()
85 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:92:12: warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
90 | }()
91 |
92 | public let ISO8601DateTimeFormatters: [DateFormatter] = {
| |- warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ISO8601DateTimeFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | var dateFormatter1 = DateFormatter()
94 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:122:13: warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
120 | }()
121 |
122 | private let localIso8601DateTimeFormatter: DateFormatter = {
| |- warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localIso8601DateTimeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
124 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'S"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:129:13: warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
127 | }()
128 |
129 | private let railsDateFormatter: DateFormatter = {
| |- warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | var dateFormatter = DateFormatter()
131 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:135:13: warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }()
134 |
135 | private let authTokenDate: DateFormatter = {
| |- warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authTokenDate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | var dateFormatter = DateFormatter()
137 | dateFormatter.dateFormat = "ddMMyyyy"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:141:13: warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }()
140 |
141 | private let preciseTimeFormatter: DateFormatter = {
| |- warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preciseTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | var dateFormatter = DateFormatter()
143 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[63/65] Compiling Swiftlier HeartRateFormatter.swift
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:11:13: warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| `- warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| |- note: annotate 'dateAndTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:18:13: warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }()
17 |
18 | private let timeFormatter: DateFormatter = {
| |- warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'timeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
20 | dateFormatter.timeStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:24:13: warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }()
23 |
24 | private let dateFormatter: DateFormatter = {
| |- warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | var dateFormatter = DateFormatter()
26 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:31:13: warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | }()
30 |
31 | private let shortDateFormatter: DateFormatter = {
| |- warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | var dateFormatter = DateFormatter()
33 | dateFormatter.setLocalizedDateFormatFromTemplate("MMddyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:37:13: warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }()
36 |
37 | private let shortestDateFormatter: DateFormatter = {
| |- warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortestDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | var dateFormatter = DateFormatter()
39 | dateFormatter.dateStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:43:13: warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }()
42 |
43 | private let dayAndMonthFormatter: DateFormatter = {
| |- warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dayAndMonthFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
45 | dateFormatter.setLocalizedDateFormatFromTemplate("MMdd")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:49:13: warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }()
48 |
49 | private let monthAndYearFormatter: DateFormatter = {
| |- warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
51 | dateFormatter.setLocalizedDateFormatFromTemplate("MMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:55:13: warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }()
54 |
55 | private let longMonthAndYearFormatter: DateFormatter = {
| |- warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'longMonthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
57 | dateFormatter.setLocalizedDateFormatFromTemplate("MMMMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:61:13: warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | private let monthFormatter: DateFormatter = {
| |- warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var dateFormatter = DateFormatter()
63 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:68:13: warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }()
67 |
68 | private let yearFormatter: DateFormatter = {
| |- warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yearFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | var dateFormatter = DateFormatter()
70 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:75:13: warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
73 | }()
74 |
75 | private let gmtDateTimeFormatter: DateFormatter = {
| |- warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gmtDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | let dateFormatter = DateFormatter()
77 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:83:13: warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }()
82 |
83 | private let railsDateTimeFormatter: DateFormatter = {
| |- warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | var dateFormatter = DateFormatter()
85 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:92:12: warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
90 | }()
91 |
92 | public let ISO8601DateTimeFormatters: [DateFormatter] = {
| |- warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ISO8601DateTimeFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | var dateFormatter1 = DateFormatter()
94 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:122:13: warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
120 | }()
121 |
122 | private let localIso8601DateTimeFormatter: DateFormatter = {
| |- warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localIso8601DateTimeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
124 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'S"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:129:13: warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
127 | }()
128 |
129 | private let railsDateFormatter: DateFormatter = {
| |- warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | var dateFormatter = DateFormatter()
131 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:135:13: warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }()
134 |
135 | private let authTokenDate: DateFormatter = {
| |- warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authTokenDate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | var dateFormatter = DateFormatter()
137 | dateFormatter.dateFormat = "ddMMyyyy"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:141:13: warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }()
140 |
141 | private let preciseTimeFormatter: DateFormatter = {
| |- warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preciseTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | var dateFormatter = DateFormatter()
143 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[64/65] Compiling Swiftlier TimeInterval+Formatting.swift
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:11:13: warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| `- warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| |- note: annotate 'dateAndTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:18:13: warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }()
17 |
18 | private let timeFormatter: DateFormatter = {
| |- warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'timeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
20 | dateFormatter.timeStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:24:13: warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }()
23 |
24 | private let dateFormatter: DateFormatter = {
| |- warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | var dateFormatter = DateFormatter()
26 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:31:13: warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | }()
30 |
31 | private let shortDateFormatter: DateFormatter = {
| |- warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | var dateFormatter = DateFormatter()
33 | dateFormatter.setLocalizedDateFormatFromTemplate("MMddyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:37:13: warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }()
36 |
37 | private let shortestDateFormatter: DateFormatter = {
| |- warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortestDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | var dateFormatter = DateFormatter()
39 | dateFormatter.dateStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:43:13: warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }()
42 |
43 | private let dayAndMonthFormatter: DateFormatter = {
| |- warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dayAndMonthFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
45 | dateFormatter.setLocalizedDateFormatFromTemplate("MMdd")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:49:13: warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }()
48 |
49 | private let monthAndYearFormatter: DateFormatter = {
| |- warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
51 | dateFormatter.setLocalizedDateFormatFromTemplate("MMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:55:13: warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }()
54 |
55 | private let longMonthAndYearFormatter: DateFormatter = {
| |- warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'longMonthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
57 | dateFormatter.setLocalizedDateFormatFromTemplate("MMMMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:61:13: warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | private let monthFormatter: DateFormatter = {
| |- warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var dateFormatter = DateFormatter()
63 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:68:13: warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }()
67 |
68 | private let yearFormatter: DateFormatter = {
| |- warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yearFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | var dateFormatter = DateFormatter()
70 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:75:13: warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
73 | }()
74 |
75 | private let gmtDateTimeFormatter: DateFormatter = {
| |- warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gmtDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | let dateFormatter = DateFormatter()
77 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:83:13: warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }()
82 |
83 | private let railsDateTimeFormatter: DateFormatter = {
| |- warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | var dateFormatter = DateFormatter()
85 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:92:12: warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
90 | }()
91 |
92 | public let ISO8601DateTimeFormatters: [DateFormatter] = {
| |- warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ISO8601DateTimeFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | var dateFormatter1 = DateFormatter()
94 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:122:13: warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
120 | }()
121 |
122 | private let localIso8601DateTimeFormatter: DateFormatter = {
| |- warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localIso8601DateTimeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
124 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'S"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:129:13: warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
127 | }()
128 |
129 | private let railsDateFormatter: DateFormatter = {
| |- warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | var dateFormatter = DateFormatter()
131 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:135:13: warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }()
134 |
135 | private let authTokenDate: DateFormatter = {
| |- warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authTokenDate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | var dateFormatter = DateFormatter()
137 | dateFormatter.dateFormat = "ddMMyyyy"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:141:13: warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }()
140 |
141 | private let preciseTimeFormatter: DateFormatter = {
| |- warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preciseTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | var dateFormatter = DateFormatter()
143 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[65/65] Compiling Swiftlier BinarySearchTree.swift
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:11:13: warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| `- warning: let 'dateAndTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 |
11 | private let dateAndTimeFormatter: DateFormatter = {
| |- note: annotate 'dateAndTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | var dateFormatter = DateFormatter()
13 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:18:13: warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }()
17 |
18 | private let timeFormatter: DateFormatter = {
| |- warning: let 'timeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'timeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
20 | dateFormatter.timeStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:24:13: warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }()
23 |
24 | private let dateFormatter: DateFormatter = {
| |- warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | var dateFormatter = DateFormatter()
26 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:31:13: warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | }()
30 |
31 | private let shortDateFormatter: DateFormatter = {
| |- warning: let 'shortDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | var dateFormatter = DateFormatter()
33 | dateFormatter.setLocalizedDateFormatFromTemplate("MMddyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:37:13: warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }()
36 |
37 | private let shortestDateFormatter: DateFormatter = {
| |- warning: let 'shortestDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortestDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | var dateFormatter = DateFormatter()
39 | dateFormatter.dateStyle = .short
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:43:13: warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }()
42 |
43 | private let dayAndMonthFormatter: DateFormatter = {
| |- warning: let 'dayAndMonthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dayAndMonthFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
45 | dateFormatter.setLocalizedDateFormatFromTemplate("MMdd")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:49:13: warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }()
48 |
49 | private let monthAndYearFormatter: DateFormatter = {
| |- warning: let 'monthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
51 | dateFormatter.setLocalizedDateFormatFromTemplate("MMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:55:13: warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }()
54 |
55 | private let longMonthAndYearFormatter: DateFormatter = {
| |- warning: let 'longMonthAndYearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'longMonthAndYearFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
57 | dateFormatter.setLocalizedDateFormatFromTemplate("MMMMyyyy")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:61:13: warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }()
60 |
61 | private let monthFormatter: DateFormatter = {
| |- warning: let 'monthFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'monthFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var dateFormatter = DateFormatter()
63 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:68:13: warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }()
67 |
68 | private let yearFormatter: DateFormatter = {
| |- warning: let 'yearFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yearFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | var dateFormatter = DateFormatter()
70 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:75:13: warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
73 | }()
74 |
75 | private let gmtDateTimeFormatter: DateFormatter = {
| |- warning: let 'gmtDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gmtDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | let dateFormatter = DateFormatter()
77 | dateFormatter.locale = Locale(identifier:"en_US_POSIX")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:83:13: warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
81 | }()
82 |
83 | private let railsDateTimeFormatter: DateFormatter = {
| |- warning: let 'railsDateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | var dateFormatter = DateFormatter()
85 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:92:12: warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
90 | }()
91 |
92 | public let ISO8601DateTimeFormatters: [DateFormatter] = {
| |- warning: let 'ISO8601DateTimeFormatters' is not concurrency-safe because non-'Sendable' type '[DateFormatter]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ISO8601DateTimeFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | var dateFormatter1 = DateFormatter()
94 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:122:13: warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
120 | }()
121 |
122 | private let localIso8601DateTimeFormatter: DateFormatter = {
| |- warning: let 'localIso8601DateTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localIso8601DateTimeFormatter' with '@MainActor' 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 | var dateFormatter = DateFormatter()
124 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'S"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:129:13: warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
127 | }()
128 |
129 | private let railsDateFormatter: DateFormatter = {
| |- warning: let 'railsDateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'railsDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | var dateFormatter = DateFormatter()
131 | dateFormatter.dateFormat = "yyyy'-'MM'-'dd"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:135:13: warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }()
134 |
135 | private let authTokenDate: DateFormatter = {
| |- warning: let 'authTokenDate' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authTokenDate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | var dateFormatter = DateFormatter()
137 | dateFormatter.dateFormat = "ddMMyyyy"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Swiftlier/Formatting/Date+Formatting.swift:141:13: warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
139 | }()
140 |
141 | private let preciseTimeFormatter: DateFormatter = {
| |- warning: let 'preciseTimeFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preciseTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | var dateFormatter = DateFormatter()
143 | let timeZone = TimeZone(identifier: "UTC")
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
Build complete! (12.20s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Swiftlier",
"name" : "Swiftlier",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Swiftlier",
"targets" : [
"Swiftlier"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftlierTests",
"module_type" : "SwiftTarget",
"name" : "SwiftlierTests",
"path" : "Tests/SwiftlierTests",
"sources" : [
"AgeTests.swift",
"AlwaysEqualTests.swift",
"AngleTests.swift",
"BinarySearchTreeTests.swift",
"Bool_Formatting.swift",
"CSVStreamReaderTests.swift",
"CodingKeysTests.swift",
"Coding_HelpersTests.swift",
"Collection_EnhancementsTests.swift",
"Data_Base64Tests.swift",
"Data_ProcessingTests.swift",
"Date_HelpersTests.swift",
"DayTests.swift",
"DelimiterStreamReaderTests.swift",
"DispatchQueue_EnhancementsTests.swift",
"Double_FormattingTests.swift",
"EmailAddressTests.swift",
"EventCenterTests.swift",
"HTMLTests.swift",
"HeartRateFormatterTests.swift",
"JSONTests.swift",
"LimitedQueueTests.swift",
"MassTests.swift",
"MultiCallbackTests.swift",
"NativeTypesDecoderTests.swift",
"NativeTypesEncoderTests.swift",
"ObservableTests.swift",
"PatchyRangeTests.swift",
"PathTests.swift",
"Path_CodingTests.swift",
"PercentEncodableTests.swift",
"PersistenceServiceTests.swift",
"SpecDecoderTests.swift",
"String_EnhancementsTests.swift",
"TestCodable.swift",
"URL_EnhancementsTests.swift",
"XCTestManifests.swift",
"XMLTests.swift"
],
"target_dependencies" : [
"Swiftlier"
],
"type" : "test"
},
{
"c99name" : "Swiftlier",
"module_type" : "SwiftTarget",
"name" : "Swiftlier",
"path" : "Sources",
"product_memberships" : [
"Swiftlier"
],
"sources" : [
"Swiftlier/Coding/Coding+Helpers.swift",
"Swiftlier/Coding/CodingKeys.swift",
"Swiftlier/Coding/NativeTypesDecoder.swift",
"Swiftlier/Coding/NativeTypesEncoder.swift",
"Swiftlier/Coding/PercentEncodable.swift",
"Swiftlier/Coding/SpecDecoder.swift",
"Swiftlier/Enhancements/Collection+Enhancments.swift",
"Swiftlier/Enhancements/Data+Processing.swift",
"Swiftlier/Enhancements/Date+Helpers.swift",
"Swiftlier/Enhancements/DispatchQueue+Enhancements.swift",
"Swiftlier/Enhancements/String+Enhancements.swift",
"Swiftlier/Enhancements/URL+Enhancements.swift",
"Swiftlier/Errors/AnySwiftlierError.swift",
"Swiftlier/Errors/GenericSwiftlierError.swift",
"Swiftlier/Errors/OperationBasedError.swift",
"Swiftlier/Errors/OtherSwiftlierError.swift",
"Swiftlier/Errors/SwiftlierError.swift",
"Swiftlier/Errors/SwiftlierResult.swift",
"Swiftlier/FileSystem/FileSystem+iOSDirectories.swift",
"Swiftlier/FileSystem/FileSystem.swift",
"Swiftlier/FileSystem/Path+Coding.swift",
"Swiftlier/FileSystem/Path.swift",
"Swiftlier/FileSystem/PersistenceService.swift",
"Swiftlier/FileSystem/ReferenceTypePersistenceService.swift",
"Swiftlier/FileSystem/ValueTypePersistenceService.swift",
"Swiftlier/Formatting/Bool+Formatting.swift",
"Swiftlier/Formatting/Data+Base64.swift",
"Swiftlier/Formatting/Date+Formatting.swift",
"Swiftlier/Formatting/Double+Formatting.swift",
"Swiftlier/Formatting/HeartRateFormatter.swift",
"Swiftlier/Formatting/TimeInterval+Formatting.swift",
"Swiftlier/Model/Containers/BinarySearchTree.swift",
"Swiftlier/Model/Containers/LimitedQueue.swift",
"Swiftlier/Model/Containers/OrderedDictionary.swift",
"Swiftlier/Model/Containers/PatchyRange.swift",
"Swiftlier/Model/Containers/SelectableValue.swift",
"Swiftlier/Model/Containers/Syncable.swift",
"Swiftlier/Model/Containers/WeakWrapper.swift",
"Swiftlier/Model/Observable/EventCenter.swift",
"Swiftlier/Model/Observable/MultiCallback.swift",
"Swiftlier/Model/Observable/Observable.swift",
"Swiftlier/Model/Observable/ObservableArray.swift",
"Swiftlier/Model/Observable/ObservableDictionary.swift",
"Swiftlier/Model/Observable/ObservableReference.swift",
"Swiftlier/Model/Structured/JSON.swift",
"Swiftlier/Model/Structured/NativeTypesStructured.swift",
"Swiftlier/Model/Structured/Structured.swift",
"Swiftlier/Model/Structured/XML.swift",
"Swiftlier/Model/Types/Age.swift",
"Swiftlier/Model/Types/AlwaysEqual.swift",
"Swiftlier/Model/Types/Angle.swift",
"Swiftlier/Model/Types/Day.swift",
"Swiftlier/Model/Types/EmailAddress.swift",
"Swiftlier/Model/Types/HTML.swift",
"Swiftlier/Model/Types/Mass.swift",
"Swiftlier/Model/Types/Price.swift",
"Swiftlier/Model/Types/UniquelyIdentifiable.swift",
"Swiftlier/Streams/CSVStreamReader.swift",
"Swiftlier/Streams/DelimiterStreamReader.swift",
"Swiftlier/Streams/StreamReader.swift",
"Swiftlier/Testing/Date+Testable.swift",
"Swiftlier/Testing/URLSession+Testing.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.