Build Information
Successful build of Time with Swift 6.0 for Linux.
Swift 6 data race errors: 34
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/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
109 |
110 | /// This type represents the `.era` calendar component
111 | public static let component: Calendar.Component = .era
| |- warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'component' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | }
113 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
[13/66] Compiling Time Fixed+Codable.swift
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:31:23: warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Nanosecond>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | @_documentation(visibility: internal)
30 | #endif
31 | public static let _closer: ProtocolCloser<Self> = ProtocolCloser()
| |- warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Nanosecond>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_closer' with '@MainActor' 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 |
33 | /// This type represents the `.nanosecond` calendar component
:
200 | @_documentation(visibility: internal)
201 | #endif
202 | public struct ProtocolCloser<U: Unit> {
| `- note: consider making generic struct 'ProtocolCloser' conform to the 'Sendable' protocol
203 | fileprivate init() { }
204 | }
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:34:23: warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// This type represents the `.nanosecond` calendar component
34 | public static let component: Calendar.Component = .nanosecond
| `- warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | /**
:
32 |
33 | /// This type represents the `.nanosecond` calendar component
34 | public static let component: Calendar.Component = .nanosecond
| |- note: annotate 'component' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:42:23: warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Second>' may have shared mutable state; this is an error in the Swift 6 language mode
40 | @_documentation(visibility: internal)
41 | #endif
42 | public static let _closer: ProtocolCloser<Self> = ProtocolCloser()
| |- warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Second>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_closer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// This type represents the `.second` calendar component
:
200 | @_documentation(visibility: internal)
201 | #endif
202 | public struct ProtocolCloser<U: Unit> {
| `- note: consider making generic struct 'ProtocolCloser' conform to the 'Sendable' protocol
203 | fileprivate init() { }
204 | }
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:45:23: warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// This type represents the `.second` calendar component
45 | public static let component: Calendar.Component = .second
| |- warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'component' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:53:23: warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Minute>' may have shared mutable state; this is an error in the Swift 6 language mode
51 | @_documentation(visibility: internal)
52 | #endif
53 | public static let _closer: ProtocolCloser<Self> = ProtocolCloser()
| |- warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Minute>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_closer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// This type represents the `.minute` calendar component
:
200 | @_documentation(visibility: internal)
201 | #endif
202 | public struct ProtocolCloser<U: Unit> {
| `- note: consider making generic struct 'ProtocolCloser' conform to the 'Sendable' protocol
203 | fileprivate init() { }
204 | }
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:56:23: warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// This type represents the `.minute` calendar component
56 | public static let component: Calendar.Component = .minute
| |- warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'component' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:64:23: warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Hour>' may have shared mutable state; this is an error in the Swift 6 language mode
62 | @_documentation(visibility: internal)
63 | #endif
64 | public static let _closer: ProtocolCloser<Self> = ProtocolCloser()
| |- warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Hour>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_closer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// This type represents the `.hour` calendar component
:
200 | @_documentation(visibility: internal)
201 | #endif
202 | public struct ProtocolCloser<U: Unit> {
| `- note: consider making generic struct 'ProtocolCloser' conform to the 'Sendable' protocol
203 | fileprivate init() { }
204 | }
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:67:23: warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
65 |
66 | /// This type represents the `.hour` calendar component
67 | public static let component: Calendar.Component = .hour
| |- warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'component' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | }
69 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:75:23: warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
73 | @_documentation(visibility: internal)
74 | #endif
75 | public static let _closer: ProtocolCloser<Self> = ProtocolCloser()
| |- warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_closer' with '@MainActor' 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 |
77 | /// This type represents the `.day` calendar component
:
200 | @_documentation(visibility: internal)
201 | #endif
202 | public struct ProtocolCloser<U: Unit> {
| `- note: consider making generic struct 'ProtocolCloser' conform to the 'Sendable' protocol
203 | fileprivate init() { }
204 | }
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:78:23: warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | /// This type represents the `.day` calendar component
78 | public static let component: Calendar.Component = .day
| |- warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'component' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | }
80 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:86:23: warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Month>' may have shared mutable state; this is an error in the Swift 6 language mode
84 | @_documentation(visibility: internal)
85 | #endif
86 | public static let _closer: ProtocolCloser<Self> = ProtocolCloser()
| |- warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Month>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_closer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /// This type represents the `.month` calendar component
:
200 | @_documentation(visibility: internal)
201 | #endif
202 | public struct ProtocolCloser<U: Unit> {
| `- note: consider making generic struct 'ProtocolCloser' conform to the 'Sendable' protocol
203 | fileprivate init() { }
204 | }
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:89:23: warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// This type represents the `.month` calendar component
89 | public static let component: Calendar.Component = .month
| |- warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'component' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | }
91 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:97:23: warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Year>' may have shared mutable state; this is an error in the Swift 6 language mode
95 | @_documentation(visibility: internal)
96 | #endif
97 | public static let _closer: ProtocolCloser<Self> = ProtocolCloser()
| |- warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Year>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_closer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | /// This type represents the `.year` calendar component
:
200 | @_documentation(visibility: internal)
201 | #endif
202 | public struct ProtocolCloser<U: Unit> {
| `- note: consider making generic struct 'ProtocolCloser' conform to the 'Sendable' protocol
203 | fileprivate init() { }
204 | }
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:100:23: warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
98 |
99 | /// This type represents the `.year` calendar component
100 | public static let component: Calendar.Component = .year
| |- warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'component' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:108:23: warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Era>' may have shared mutable state; this is an error in the Swift 6 language mode
106 | @_documentation(visibility: internal)
107 | #endif
108 | public static let _closer: ProtocolCloser<Self> = ProtocolCloser()
| |- warning: static property '_closer' is not concurrency-safe because non-'Sendable' type 'ProtocolCloser<Era>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_closer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | /// This type represents the `.era` calendar component
:
200 | @_documentation(visibility: internal)
201 | #endif
202 | public struct ProtocolCloser<U: Unit> {
| `- note: consider making generic struct 'ProtocolCloser' conform to the 'Sendable' protocol
203 | fileprivate init() { }
204 | }
/host/spi-builder-workspace/Sources/Time/2-Core Calendar/Units.swift:111:23: warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | /// This type represents the `.era` calendar component
111 | public static let component: Calendar.Component = .era
| |- warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'Calendar.Component' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'component' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | }
113 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
[14/66] Compiling Time Epoch.swift
[15/66] Compiling Time Instant.swift
[16/66] Compiling Time SISeconds.swift
[17/66] Compiling Time Relations+Fixed.swift
[18/66] Compiling Time Relations+Ranges.swift
[19/66] Compiling Time Relations.swift
[20/66] Compiling Time Fixed+Rounding.swift
[21/66] Compiling Time Region.swift
[22/66] Compiling Time Snapshot.swift
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:5:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| `- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:7:25: warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
| |- warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numericComponents' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | .era, .year, .month, .day,
9 | .hour, .minute, .second, .nanosecond,
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+Calendar.swift:117:17: warning: default will never be executed
115 | case .islamicTabular: return "islamic-tbla"
116 | case .islamicUmmAlQura: return "islamic-umalqura"
117 | default:
| `- warning: default will never be executed
118 | let ctx = EncodingError.Context(codingPath: [], debugDescription: "Unknown calendar identifier: '\(self)'")
119 | throw TimeError.encodingError(EncodingError.invalidValue(self, ctx))
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:86:28: warning: default will never be executed
84 |
85 | // TODO: replace @unknown after the "isLeapMonth" issue is resolved
86 | /* @unknown */ default: return .day
| `- warning: default will never be executed
87 |
88 | }
[23/66] Compiling Time Time+Calendar.swift
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:5:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| `- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:7:25: warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
| |- warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numericComponents' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | .era, .year, .month, .day,
9 | .hour, .minute, .second, .nanosecond,
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+Calendar.swift:117:17: warning: default will never be executed
115 | case .islamicTabular: return "islamic-tbla"
116 | case .islamicUmmAlQura: return "islamic-umalqura"
117 | default:
| `- warning: default will never be executed
118 | let ctx = EncodingError.Context(codingPath: [], debugDescription: "Unknown calendar identifier: '\(self)'")
119 | throw TimeError.encodingError(EncodingError.invalidValue(self, ctx))
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:86:28: warning: default will never be executed
84 |
85 | // TODO: replace @unknown after the "isLeapMonth" issue is resolved
86 | /* @unknown */ default: return .day
| `- warning: default will never be executed
87 |
88 | }
[24/66] Compiling Time Time+CalendarComponent.swift
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:5:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| `- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:7:25: warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
| |- warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numericComponents' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | .era, .year, .month, .day,
9 | .hour, .minute, .second, .nanosecond,
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+Calendar.swift:117:17: warning: default will never be executed
115 | case .islamicTabular: return "islamic-tbla"
116 | case .islamicUmmAlQura: return "islamic-umalqura"
117 | default:
| `- warning: default will never be executed
118 | let ctx = EncodingError.Context(codingPath: [], debugDescription: "Unknown calendar identifier: '\(self)'")
119 | throw TimeError.encodingError(EncodingError.invalidValue(self, ctx))
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:86:28: warning: default will never be executed
84 |
85 | // TODO: replace @unknown after the "isLeapMonth" issue is resolved
86 | /* @unknown */ default: return .day
| `- warning: default will never be executed
87 |
88 | }
[25/66] Compiling Time Time+DateComponents.swift
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:5:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| `- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:7:25: warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
| |- warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numericComponents' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | .era, .year, .month, .day,
9 | .hour, .minute, .second, .nanosecond,
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+Calendar.swift:117:17: warning: default will never be executed
115 | case .islamicTabular: return "islamic-tbla"
116 | case .islamicUmmAlQura: return "islamic-umalqura"
117 | default:
| `- warning: default will never be executed
118 | let ctx = EncodingError.Context(codingPath: [], debugDescription: "Unknown calendar identifier: '\(self)'")
119 | throw TimeError.encodingError(EncodingError.invalidValue(self, ctx))
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:86:28: warning: default will never be executed
84 |
85 | // TODO: replace @unknown after the "isLeapMonth" issue is resolved
86 | /* @unknown */ default: return .day
| `- warning: default will never be executed
87 |
88 | }
[26/66] Compiling Time Time+Duration.swift
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:5:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| `- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:7:25: warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
| |- warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numericComponents' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | .era, .year, .month, .day,
9 | .hour, .minute, .second, .nanosecond,
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+Calendar.swift:117:17: warning: default will never be executed
115 | case .islamicTabular: return "islamic-tbla"
116 | case .islamicUmmAlQura: return "islamic-umalqura"
117 | default:
| `- warning: default will never be executed
118 | let ctx = EncodingError.Context(codingPath: [], debugDescription: "Unknown calendar identifier: '\(self)'")
119 | throw TimeError.encodingError(EncodingError.invalidValue(self, ctx))
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:86:28: warning: default will never be executed
84 |
85 | // TODO: replace @unknown after the "isLeapMonth" issue is resolved
86 | /* @unknown */ default: return .day
| `- warning: default will never be executed
87 |
88 | }
[27/66] Compiling Time Time+Locale.swift
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:5:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| `- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:7:25: warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
| |- warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numericComponents' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | .era, .year, .month, .day,
9 | .hour, .minute, .second, .nanosecond,
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+Calendar.swift:117:17: warning: default will never be executed
115 | case .islamicTabular: return "islamic-tbla"
116 | case .islamicUmmAlQura: return "islamic-umalqura"
117 | default:
| `- warning: default will never be executed
118 | let ctx = EncodingError.Context(codingPath: [], debugDescription: "Unknown calendar identifier: '\(self)'")
119 | throw TimeError.encodingError(EncodingError.invalidValue(self, ctx))
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:86:28: warning: default will never be executed
84 |
85 | // TODO: replace @unknown after the "isLeapMonth" issue is resolved
86 | /* @unknown */ default: return .day
| `- warning: default will never be executed
87 |
88 | }
[28/66] Compiling Time Time+TimeZone.swift
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:5:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| `- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
4 |
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:7:25: warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | internal static let all: Array<Calendar.Component> = numericComponents + [.calendar, .timeZone]
6 |
7 | internal static let numericComponents: Array<Calendar.Component> = [
| |- warning: static property 'numericComponents' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numericComponents' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | .era, .year, .month, .day,
9 | .hour, .minute, .second, .nanosecond,
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+Calendar.swift:117:17: warning: default will never be executed
115 | case .islamicTabular: return "islamic-tbla"
116 | case .islamicUmmAlQura: return "islamic-umalqura"
117 | default:
| `- warning: default will never be executed
118 | let ctx = EncodingError.Context(codingPath: [], debugDescription: "Unknown calendar identifier: '\(self)'")
119 | throw TimeError.encodingError(EncodingError.invalidValue(self, ctx))
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:86:28: warning: default will never be executed
84 |
85 | // TODO: replace @unknown after the "isLeapMonth" issue is resolved
86 | /* @unknown */ default: return .day
| `- warning: default will never be executed
87 |
88 | }
[29/66] Compiling Time Fixed+UnsafeAdjustment.swift
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:15:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
13 | ///
14 | /// Example: `3:12:43 AM Central Standard Time`
15 | public static let full = FixedFormatStyle(style: .full)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// A verbose format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:26:23: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
24 | ///
25 | /// Example: `3:12:43 AM CST`
26 | public static let long = FixedFormatStyle(style: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// A simple format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:37:23: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
35 | ///
36 | /// Example: `3:12:43 AM`
37 | public static let medium = FixedFormatStyle(style: .medium)
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' with '@MainActor' 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 | /// A terse format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:48:23: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
46 | ///
47 | /// Example: `3:12 AM`
48 | public static let short = FixedFormatStyle(style: .short)
| |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'short' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | internal let style: DateFormatter.Style
[30/66] Compiling Time Fixed+BoundaryAlignedSequence.swift
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:15:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
13 | ///
14 | /// Example: `3:12:43 AM Central Standard Time`
15 | public static let full = FixedFormatStyle(style: .full)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// A verbose format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:26:23: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
24 | ///
25 | /// Example: `3:12:43 AM CST`
26 | public static let long = FixedFormatStyle(style: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// A simple format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:37:23: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
35 | ///
36 | /// Example: `3:12:43 AM`
37 | public static let medium = FixedFormatStyle(style: .medium)
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' with '@MainActor' 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 | /// A terse format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:48:23: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
46 | ///
47 | /// Example: `3:12 AM`
48 | public static let short = FixedFormatStyle(style: .short)
| |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'short' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | internal let style: DateFormatter.Style
[31/66] Compiling Time Fixed+Sequence.swift
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:15:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
13 | ///
14 | /// Example: `3:12:43 AM Central Standard Time`
15 | public static let full = FixedFormatStyle(style: .full)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// A verbose format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:26:23: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
24 | ///
25 | /// Example: `3:12:43 AM CST`
26 | public static let long = FixedFormatStyle(style: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// A simple format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:37:23: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
35 | ///
36 | /// Example: `3:12:43 AM`
37 | public static let medium = FixedFormatStyle(style: .medium)
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' with '@MainActor' 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 | /// A terse format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:48:23: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
46 | ///
47 | /// Example: `3:12 AM`
48 | public static let short = FixedFormatStyle(style: .short)
| |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'short' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | internal let style: DateFormatter.Style
[32/66] Compiling Time Fixed+FormatRaw.swift
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:15:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
13 | ///
14 | /// Example: `3:12:43 AM Central Standard Time`
15 | public static let full = FixedFormatStyle(style: .full)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// A verbose format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:26:23: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
24 | ///
25 | /// Example: `3:12:43 AM CST`
26 | public static let long = FixedFormatStyle(style: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// A simple format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:37:23: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
35 | ///
36 | /// Example: `3:12:43 AM`
37 | public static let medium = FixedFormatStyle(style: .medium)
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' with '@MainActor' 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 | /// A terse format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:48:23: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
46 | ///
47 | /// Example: `3:12 AM`
48 | public static let short = FixedFormatStyle(style: .short)
| |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'short' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | internal let style: DateFormatter.Style
[33/66] Compiling Time Fixed+FormatStyle.swift
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:15:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
13 | ///
14 | /// Example: `3:12:43 AM Central Standard Time`
15 | public static let full = FixedFormatStyle(style: .full)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// A verbose format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:26:23: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
24 | ///
25 | /// Example: `3:12:43 AM CST`
26 | public static let long = FixedFormatStyle(style: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// A simple format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:37:23: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
35 | ///
36 | /// Example: `3:12:43 AM`
37 | public static let medium = FixedFormatStyle(style: .medium)
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' with '@MainActor' 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 | /// A terse format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:48:23: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
46 | ///
47 | /// Example: `3:12 AM`
48 | public static let short = FixedFormatStyle(style: .short)
| |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'short' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | internal let style: DateFormatter.Style
[34/66] Compiling Time Fixed+FormatTemplate.swift
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:15:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
13 | ///
14 | /// Example: `3:12:43 AM Central Standard Time`
15 | public static let full = FixedFormatStyle(style: .full)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// A verbose format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:26:23: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
24 | ///
25 | /// Example: `3:12:43 AM CST`
26 | public static let long = FixedFormatStyle(style: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// A simple format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:37:23: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
35 | ///
36 | /// Example: `3:12:43 AM`
37 | public static let medium = FixedFormatStyle(style: .medium)
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' with '@MainActor' 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 | /// A terse format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:48:23: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
46 | ///
47 | /// Example: `3:12 AM`
48 | public static let short = FixedFormatStyle(style: .short)
| |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'short' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | internal let style: DateFormatter.Style
[35/66] Compiling Time FixedFormat.swift
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:15:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
13 | ///
14 | /// Example: `3:12:43 AM Central Standard Time`
15 | public static let full = FixedFormatStyle(style: .full)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// A verbose format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:26:23: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
24 | ///
25 | /// Example: `3:12:43 AM CST`
26 | public static let long = FixedFormatStyle(style: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// A simple format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:37:23: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
35 | ///
36 | /// Example: `3:12:43 AM`
37 | public static let medium = FixedFormatStyle(style: .medium)
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' with '@MainActor' 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 | /// A terse format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:48:23: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
46 | ///
47 | /// Example: `3:12 AM`
48 | public static let short = FixedFormatStyle(style: .short)
| |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'short' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | internal let style: DateFormatter.Style
[36/66] Compiling Time FormatTemplates.swift
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:15:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
13 | ///
14 | /// Example: `3:12:43 AM Central Standard Time`
15 | public static let full = FixedFormatStyle(style: .full)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// A verbose format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:26:23: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
24 | ///
25 | /// Example: `3:12:43 AM CST`
26 | public static let long = FixedFormatStyle(style: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// A simple format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:37:23: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
35 | ///
36 | /// Example: `3:12:43 AM`
37 | public static let medium = FixedFormatStyle(style: .medium)
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' with '@MainActor' 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 | /// A terse format style.
/host/spi-builder-workspace/Sources/Time/8-Formatting/Fixed+FormatStyle.swift:48:23: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A convenient way to specify general formats for fixed values.
4 | public struct FixedFormatStyle: Hashable {
| `- note: consider making struct 'FixedFormatStyle' conform to the 'Sendable' protocol
5 |
6 | /// An extremely verbose format style.
:
46 | ///
47 | /// Example: `3:12 AM`
48 | public static let short = FixedFormatStyle(style: .short)
| |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'FixedFormatStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'short' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | internal let style: DateFormatter.Style
[37/66] Compiling Time PartialFormatting-1Unit.swift
[38/66] Compiling Time PartialFormatting-2Units.swift
[39/66] Compiling Time PartialFormatting-3Units.swift
[40/66] Compiling Time PartialFormatting-4Units.swift
[41/66] Compiling Time PartialFormatting-Others.swift
[42/66] Compiling Time Fixed+Parsing.swift
[43/66] Compiling Time Assertions.swift
[44/66] Compiling Time DateFormatterCache.swift
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | internal enum FormatConfiguration: Hashable, Sendable {
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:37:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | private class DateFormatterCache {
| `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
36 |
37 | static let shared = DateFormatterCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let lock = NSLock()
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| `- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
:
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:59:83: warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import Dispatch
3 |
4 | internal class CancellationToken {
| `- note: class 'CancellationToken' does not conform to the 'Sendable' protocol
5 |
6 | private let lock = NSLock()
:
57 | Task {
58 | do {
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
| `- warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | } catch { }
61 | if token.isCancelled == false { strike() }
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:61:45: warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
60 | } catch { }
61 | if token.isCancelled == false { strike() }
| |- warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
62 | }
63 | return token
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:4:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Locale {
4 | private static let cache = SimpleCache<String, Locale>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | static func standard(_ id: String) -> Locale {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:12:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Calendar {
12 | private static let cache = SimpleCache<Calendar.Identifier, Calendar>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func standard(_ id: Calendar.Identifier) -> Calendar {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:20:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension TimeZone {
20 | private static let cache = SimpleCache<String, TimeZone>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static func standard(_ id: String) -> TimeZone {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
[45/66] Compiling Time Fixed+Internal.swift
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | internal enum FormatConfiguration: Hashable, Sendable {
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:37:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | private class DateFormatterCache {
| `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
36 |
37 | static let shared = DateFormatterCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let lock = NSLock()
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| `- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
:
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:59:83: warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import Dispatch
3 |
4 | internal class CancellationToken {
| `- note: class 'CancellationToken' does not conform to the 'Sendable' protocol
5 |
6 | private let lock = NSLock()
:
57 | Task {
58 | do {
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
| `- warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | } catch { }
61 | if token.isCancelled == false { strike() }
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:61:45: warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
60 | } catch { }
61 | if token.isCancelled == false { strike() }
| |- warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
62 | }
63 | return token
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:4:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Locale {
4 | private static let cache = SimpleCache<String, Locale>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | static func standard(_ id: String) -> Locale {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:12:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Calendar {
12 | private static let cache = SimpleCache<Calendar.Identifier, Calendar>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func standard(_ id: Calendar.Identifier) -> Calendar {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:20:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension TimeZone {
20 | private static let cache = SimpleCache<String, TimeZone>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static func standard(_ id: String) -> TimeZone {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
[46/66] Compiling Time Formatting.swift
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | internal enum FormatConfiguration: Hashable, Sendable {
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:37:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | private class DateFormatterCache {
| `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
36 |
37 | static let shared = DateFormatterCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let lock = NSLock()
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| `- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
:
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:59:83: warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import Dispatch
3 |
4 | internal class CancellationToken {
| `- note: class 'CancellationToken' does not conform to the 'Sendable' protocol
5 |
6 | private let lock = NSLock()
:
57 | Task {
58 | do {
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
| `- warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | } catch { }
61 | if token.isCancelled == false { strike() }
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:61:45: warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
60 | } catch { }
61 | if token.isCancelled == false { strike() }
| |- warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
62 | }
63 | return token
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:4:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Locale {
4 | private static let cache = SimpleCache<String, Locale>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | static func standard(_ id: String) -> Locale {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:12:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Calendar {
12 | private static let cache = SimpleCache<Calendar.Identifier, Calendar>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func standard(_ id: Calendar.Identifier) -> Calendar {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:20:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension TimeZone {
20 | private static let cache = SimpleCache<String, TimeZone>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static func standard(_ id: String) -> TimeZone {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
[47/66] Compiling Time ParsedFormat.swift
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | internal enum FormatConfiguration: Hashable, Sendable {
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:37:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | private class DateFormatterCache {
| `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
36 |
37 | static let shared = DateFormatterCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let lock = NSLock()
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| `- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
:
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:59:83: warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import Dispatch
3 |
4 | internal class CancellationToken {
| `- note: class 'CancellationToken' does not conform to the 'Sendable' protocol
5 |
6 | private let lock = NSLock()
:
57 | Task {
58 | do {
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
| `- warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | } catch { }
61 | if token.isCancelled == false { strike() }
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:61:45: warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
60 | } catch { }
61 | if token.isCancelled == false { strike() }
| |- warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
62 | }
63 | return token
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:4:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Locale {
4 | private static let cache = SimpleCache<String, Locale>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | static func standard(_ id: String) -> Locale {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:12:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Calendar {
12 | private static let cache = SimpleCache<Calendar.Identifier, Calendar>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func standard(_ id: Calendar.Identifier) -> Calendar {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:20:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension TimeZone {
20 | private static let cache = SimpleCache<String, TimeZone>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static func standard(_ id: String) -> TimeZone {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
[48/66] Compiling Time Region+Equivalence.swift
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | internal enum FormatConfiguration: Hashable, Sendable {
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:37:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | private class DateFormatterCache {
| `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
36 |
37 | static let shared = DateFormatterCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let lock = NSLock()
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| `- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
:
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:59:83: warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import Dispatch
3 |
4 | internal class CancellationToken {
| `- note: class 'CancellationToken' does not conform to the 'Sendable' protocol
5 |
6 | private let lock = NSLock()
:
57 | Task {
58 | do {
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
| `- warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | } catch { }
61 | if token.isCancelled == false { strike() }
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:61:45: warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
60 | } catch { }
61 | if token.isCancelled == false { strike() }
| |- warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
62 | }
63 | return token
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:4:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Locale {
4 | private static let cache = SimpleCache<String, Locale>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | static func standard(_ id: String) -> Locale {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:12:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Calendar {
12 | private static let cache = SimpleCache<Calendar.Identifier, Calendar>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func standard(_ id: Calendar.Identifier) -> Calendar {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:20:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension TimeZone {
20 | private static let cache = SimpleCache<String, TimeZone>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static func standard(_ id: String) -> TimeZone {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
[49/66] Compiling Time RegionalClock+Internal.swift
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | internal enum FormatConfiguration: Hashable, Sendable {
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:37:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | private class DateFormatterCache {
| `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
36 |
37 | static let shared = DateFormatterCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let lock = NSLock()
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| `- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
:
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:59:83: warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import Dispatch
3 |
4 | internal class CancellationToken {
| `- note: class 'CancellationToken' does not conform to the 'Sendable' protocol
5 |
6 | private let lock = NSLock()
:
57 | Task {
58 | do {
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
| `- warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | } catch { }
61 | if token.isCancelled == false { strike() }
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:61:45: warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
60 | } catch { }
61 | if token.isCancelled == false { strike() }
| |- warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
62 | }
63 | return token
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:4:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Locale {
4 | private static let cache = SimpleCache<String, Locale>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | static func standard(_ id: String) -> Locale {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:12:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Calendar {
12 | private static let cache = SimpleCache<Calendar.Identifier, Calendar>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func standard(_ id: Calendar.Identifier) -> Calendar {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:20:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension TimeZone {
20 | private static let cache = SimpleCache<String, TimeZone>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static func standard(_ id: String) -> TimeZone {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
[50/66] Compiling Time SimpleCache.swift
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | internal enum FormatConfiguration: Hashable, Sendable {
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:6:10: warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
4 | case template(String)
5 | case raw(String)
6 | case styles(DateFormatter.Style, DateFormatter.Style)
| `- warning: associated value 'styles' of 'Sendable'-conforming enum 'FormatConfiguration' has non-sendable type 'DateFormatter.Style'; this is an error in the Swift 6 language mode
7 | }
8 |
Foundation.DateFormatter:2:17: note: enum 'Style' does not conform to the 'Sendable' protocol
1 | extension DateFormatter {
2 | public enum Style : UInt {
| `- note: enum 'Style' does not conform to the 'Sendable' protocol
3 | case none
4 | case short
/host/spi-builder-workspace/Sources/Time/Internals/DateFormatterCache.swift:37:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | private class DateFormatterCache {
| `- note: class 'DateFormatterCache' does not conform to the 'Sendable' protocol
36 |
37 | static let shared = DateFormatterCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DateFormatterCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let lock = NSLock()
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:14:25: warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| `- warning: static property 'ascendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension Calendar.Component {
:
12 | ]
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
| |- note: annotate 'ascendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
16 |
/host/spi-builder-workspace/Sources/Time/Internals/Time+CalendarComponent.swift:15:25: warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | internal static let ascendingOrder: Array<Calendar.Component> = [.nanosecond, .second, .minute, .hour, .day, .month, .year, .era]
15 | internal static let descendingOrder: Array<Calendar.Component> = [.era, .year, .month, .day, .hour, .minute, .second, .nanosecond]
| |- warning: static property 'descendingOrder' is not concurrency-safe because non-'Sendable' type 'Array<Calendar.Component>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descendingOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | internal static func smallest(from units: Set<Calendar.Component>) -> Calendar.Component {
Foundation.Calendar:24:17: note: enum 'Component' does not conform to the 'Sendable' protocol
22 | public var hashValue: Int { get }
23 | }
24 | public enum Component {
| `- note: enum 'Component' does not conform to the 'Sendable' protocol
25 | case era
26 | case year
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:59:83: warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import Dispatch
3 |
4 | internal class CancellationToken {
| `- note: class 'CancellationToken' does not conform to the 'Sendable' protocol
5 |
6 | private let lock = NSLock()
:
57 | Task {
58 | do {
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
| `- warning: capture of 'token' with non-sendable type 'CancellationToken' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | } catch { }
61 | if token.isCancelled == false { strike() }
/host/spi-builder-workspace/Sources/Time/Internals/RegionalClock+Internal.swift:61:45: warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try await self.sleep(until: instant, tolerance: tolerance, token: token)
60 | } catch { }
61 | if token.isCancelled == false { strike() }
| |- warning: capture of 'strike' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
62 | }
63 | return token
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:4:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Locale {
4 | private static let cache = SimpleCache<String, Locale>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, Locale>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | static func standard(_ id: String) -> Locale {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:12:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Calendar {
12 | private static let cache = SimpleCache<Calendar.Identifier, Calendar>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<Calendar.Identifier, Calendar>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func standard(_ id: Calendar.Identifier) -> Calendar {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
/host/spi-builder-workspace/Sources/Time/Internals/SimpleCache.swift:20:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension TimeZone {
20 | private static let cache = SimpleCache<String, TimeZone>()
| |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SimpleCache<String, TimeZone>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static func standard(_ id: String) -> TimeZone {
:
25 | }
26 |
27 | private class SimpleCache<Key: Hashable, T> {
| `- note: generic class 'SimpleCache' does not conform to the 'Sendable' protocol
28 |
29 | private var storage = Dictionary<Key, T>()
[51/66] Compiling Time Fixed+Components.swift
[52/66] Compiling Time Fixed+Conversion.swift
[53/66] Compiling Time Fixed+Day.swift
[54/66] Compiling Time Fixed+Equatable.swift
[55/66] Compiling Time Fixed+Era.swift
[56/66] Compiling Time Fixed+Hour.swift
[57/66] Compiling Time Fixed+Initializers.swift
[58/66] Compiling Time Fixed+Minute.swift
[59/66] Compiling Time Fixed+Month.swift
[60/66] Compiling Time Fixed+Truncation.swift
[61/66] Compiling Time Fixed+Year.swift
[62/66] Compiling Time Fixed.swift
[63/66] Compiling Time Fixed+TimeDifference.swift
[64/66] Compiling Time TimeDifference+Invalid.swift
[65/66] Compiling Time TimeDifference.swift
[66/66] Compiling Time Fixed+SafeAdjustment.swift
Build complete! (34.28s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Time",
"name" : "Time",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "maccatalyst",
"version" : "16.0"
}
],
"products" : [
{
"name" : "Time",
"targets" : [
"Time"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TimeTests",
"module_type" : "SwiftTarget",
"name" : "TimeTests",
"path" : "Tests/TimeTests",
"sources" : [
"ClockStrikeTests.swift",
"ClockTests.swift",
"FixedFormattingTests.swift",
"FixedTests.swift",
"LinuxIssues.swift",
"RegionTests.swift",
"RelationTests.swift",
"ReportedBugs.swift",
"SerializationTests.swift",
"ThreadingTests.swift",
"XCTAssert.swift",
"XCTestCase+Convenience.swift"
],
"target_dependencies" : [
"Time"
],
"type" : "test"
},
{
"c99name" : "Time",
"module_type" : "SwiftTarget",
"name" : "Time",
"path" : "Sources/Time",
"product_memberships" : [
"Time"
],
"sources" : [
"1-Core Types/Epoch.swift",
"1-Core Types/Instant.swift",
"1-Core Types/SISeconds.swift",
"10-Relations/Relations+Fixed.swift",
"10-Relations/Relations+Ranges.swift",
"10-Relations/Relations.swift",
"11-Rounding/Fixed+Rounding.swift",
"2-Core Calendar/Region.swift",
"2-Core Calendar/TimeError.swift",
"2-Core Calendar/Units.swift",
"3-RegionalClock/Clocks.swift",
"3-RegionalClock/RegionalClock+CurrentValues.swift",
"3-RegionalClock/RegionalClock+Implementations.swift",
"3-RegionalClock/RegionalClock+Strikes.swift",
"3-RegionalClock/RegionalClock.swift",
"4-Fixed Values/Fixed+Codable.swift",
"4-Fixed Values/Fixed+Components.swift",
"4-Fixed Values/Fixed+Conversion.swift",
"4-Fixed Values/Fixed+Day.swift",
"4-Fixed Values/Fixed+Equatable.swift",
"4-Fixed Values/Fixed+Era.swift",
"4-Fixed Values/Fixed+Hour.swift",
"4-Fixed Values/Fixed+Initializers.swift",
"4-Fixed Values/Fixed+Minute.swift",
"4-Fixed Values/Fixed+Month.swift",
"4-Fixed Values/Fixed+Truncation.swift",
"4-Fixed Values/Fixed+Year.swift",
"4-Fixed Values/Fixed.swift",
"5-Differences/Fixed+TimeDifference.swift",
"5-Differences/TimeDifference+Invalid.swift",
"5-Differences/TimeDifference.swift",
"6-Adjustments/Fixed+SafeAdjustment.swift",
"6-Adjustments/Fixed+UnsafeAdjustment.swift",
"7-Sequences/Fixed+BoundaryAlignedSequence.swift",
"7-Sequences/Fixed+Sequence.swift",
"8-Formatting/Fixed+FormatRaw.swift",
"8-Formatting/Fixed+FormatStyle.swift",
"8-Formatting/Fixed+FormatTemplate.swift",
"8-Formatting/FixedFormat.swift",
"8-Formatting/FormatTemplates.swift",
"8-Formatting/PartialFormatting-1Unit.swift",
"8-Formatting/PartialFormatting-2Units.swift",
"8-Formatting/PartialFormatting-3Units.swift",
"8-Formatting/PartialFormatting-4Units.swift",
"8-Formatting/PartialFormatting-Others.swift",
"9-Parsing/Fixed+Parsing.swift",
"Internals/Assertions.swift",
"Internals/DateFormatterCache.swift",
"Internals/Fixed+Internal.swift",
"Internals/Formatting.swift",
"Internals/ParsedFormat.swift",
"Internals/Region+Equivalence.swift",
"Internals/RegionalClock+Internal.swift",
"Internals/SimpleCache.swift",
"Internals/Snapshot.swift",
"Internals/Time+Calendar.swift",
"Internals/Time+CalendarComponent.swift",
"Internals/Time+DateComponents.swift",
"Internals/Time+Duration.swift",
"Internals/Time+Locale.swift",
"Internals/Time+TimeZone.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.