diff --git a/Darwin/Foundation-swiftoverlay/Date.swift b/Darwin/Foundation-swiftoverlay/Date.swift index c24f50aa3c..7bd19b34dd 100644 --- a/Darwin/Foundation-swiftoverlay/Date.swift +++ b/Darwin/Foundation-swiftoverlay/Date.swift @@ -19,7 +19,7 @@ import CoreFoundation A `Date` is independent of a particular calendar or time zone. To represent a `Date` to a user, you must interpret it in the context of a `Calendar`. */ -public struct Date : ReferenceConvertible, Comparable, Equatable { +public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable { public typealias ReferenceType = NSDate fileprivate var _time : TimeInterval diff --git a/Darwin/Foundation-swiftoverlay/DateComponents.swift b/Darwin/Foundation-swiftoverlay/DateComponents.swift index 1370ff68e2..aef287d086 100644 --- a/Darwin/Foundation-swiftoverlay/DateComponents.swift +++ b/Darwin/Foundation-swiftoverlay/DateComponents.swift @@ -19,7 +19,7 @@ When a new instance of `DateComponents` is created, the date components are set to `nil`. */ -public struct DateComponents : ReferenceConvertible, Hashable, Equatable, _MutableBoxing { +public struct DateComponents : ReferenceConvertible, Hashable, Equatable, @unchecked Sendable, _MutableBoxing { public typealias ReferenceType = NSDateComponents internal var _handle: _MutableHandle diff --git a/Sources/Foundation/Data.swift b/Sources/Foundation/Data.swift index e682da12c0..86585a3a86 100644 --- a/Sources/Foundation/Data.swift +++ b/Sources/Foundation/Data.swift @@ -660,7 +660,7 @@ internal class __NSSwiftData : NSData { } @frozen -public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes { +public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, @unchecked Sendable { public typealias ReferenceType = NSData public typealias ReadingOptions = NSData.ReadingOptions diff --git a/Sources/Foundation/UUID.swift b/Sources/Foundation/UUID.swift index f0e485af68..2a5b19abce 100644 --- a/Sources/Foundation/UUID.swift +++ b/Sources/Foundation/UUID.swift @@ -16,7 +16,7 @@ public typealias uuid_t = (UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt public typealias uuid_string_t = (Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8) /// Represents UUID strings, which can be used to uniquely identify types, interfaces, and other items. -public struct UUID : ReferenceConvertible, Hashable, Equatable, CustomStringConvertible { +public struct UUID : ReferenceConvertible, Hashable, Equatable, CustomStringConvertible, Sendable { public typealias ReferenceType = NSUUID public private(set) var uuid: uuid_t = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)