Build Information
Successful build of SwiftUIContacts with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 30
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edonv/SwiftUIContacts.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/edonv/SwiftUIContacts
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c188b30 Update README.md
Cloned https://github.com/edonv/SwiftUIContacts.git
Revision (git rev-parse @):
c188b308ebe3f576e8de7e05be7e9dc3f15747db
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/edonv/SwiftUIContacts.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/edonv/SwiftUIContacts.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/8] Compiling SwiftUIContacts ContactView.swift
[4/8] Compiling SwiftUIContacts ContactPicker.swift
[5/8] Compiling SwiftUIContacts Contacts+Constants.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:19:23: warning: static property 'identifierKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
17 |
18 | // Properties that are always fetched. Can be used with key value coding and observing.
19 | public static let identifierKey: ContactsConstant = ContactsConstant(rawValue: CNContactIdentifierKey)
| |- warning: static property 'identifierKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identifierKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | // Optional properties that can be fetched. Can be used with key value coding and observing.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:22:23: warning: static property 'namePrefixKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
20 |
21 | // Optional properties that can be fetched. Can be used with key value coding and observing.
22 | public static let namePrefixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNamePrefixKey)
| |- warning: static property 'namePrefixKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namePrefixKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let givenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactGivenNameKey)
24 | public static let middleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactMiddleNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:23:23: warning: static property 'givenNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
21 | // Optional properties that can be fetched. Can be used with key value coding and observing.
22 | public static let namePrefixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNamePrefixKey)
23 | public static let givenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactGivenNameKey)
| |- warning: static property 'givenNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'givenNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let middleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactMiddleNameKey)
25 | public static let familyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactFamilyNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:24:23: warning: static property 'middleNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
22 | public static let namePrefixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNamePrefixKey)
23 | public static let givenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactGivenNameKey)
24 | public static let middleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactMiddleNameKey)
| |- warning: static property 'middleNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'middleNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let familyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactFamilyNameKey)
26 | public static let previousFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPreviousFamilyNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:25:23: warning: static property 'familyNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
23 | public static let givenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactGivenNameKey)
24 | public static let middleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactMiddleNameKey)
25 | public static let familyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactFamilyNameKey)
| |- warning: static property 'familyNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'familyNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let previousFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPreviousFamilyNameKey)
27 | public static let nameSuffixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNameSuffixKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:26:23: warning: static property 'previousFamilyNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
24 | public static let middleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactMiddleNameKey)
25 | public static let familyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactFamilyNameKey)
26 | public static let previousFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPreviousFamilyNameKey)
| |- warning: static property 'previousFamilyNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'previousFamilyNameKey' with '@MainActor' 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 | public static let nameSuffixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNameSuffixKey)
28 | public static let nicknameKey: ContactsConstant = ContactsConstant(rawValue: CNContactNicknameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:27:23: warning: static property 'nameSuffixKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
25 | public static let familyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactFamilyNameKey)
26 | public static let previousFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPreviousFamilyNameKey)
27 | public static let nameSuffixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNameSuffixKey)
| |- warning: static property 'nameSuffixKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nameSuffixKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let nicknameKey: ContactsConstant = ContactsConstant(rawValue: CNContactNicknameKey)
29 | public static let organizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactOrganizationNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:28:23: warning: static property 'nicknameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
26 | public static let previousFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPreviousFamilyNameKey)
27 | public static let nameSuffixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNameSuffixKey)
28 | public static let nicknameKey: ContactsConstant = ContactsConstant(rawValue: CNContactNicknameKey)
| |- warning: static property 'nicknameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nicknameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let organizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactOrganizationNameKey)
30 | public static let departmentNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactDepartmentNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:29:23: warning: static property 'organizationNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
27 | public static let nameSuffixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNameSuffixKey)
28 | public static let nicknameKey: ContactsConstant = ContactsConstant(rawValue: CNContactNicknameKey)
29 | public static let organizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactOrganizationNameKey)
| |- warning: static property 'organizationNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'organizationNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let departmentNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactDepartmentNameKey)
31 | public static let jobTitleKey: ContactsConstant = ContactsConstant(rawValue: CNContactJobTitleKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:30:23: warning: static property 'departmentNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
28 | public static let nicknameKey: ContactsConstant = ContactsConstant(rawValue: CNContactNicknameKey)
29 | public static let organizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactOrganizationNameKey)
30 | public static let departmentNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactDepartmentNameKey)
| |- warning: static property 'departmentNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'departmentNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let jobTitleKey: ContactsConstant = ContactsConstant(rawValue: CNContactJobTitleKey)
32 | public static let phoneticGivenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticGivenNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:31:23: warning: static property 'jobTitleKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
29 | public static let organizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactOrganizationNameKey)
30 | public static let departmentNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactDepartmentNameKey)
31 | public static let jobTitleKey: ContactsConstant = ContactsConstant(rawValue: CNContactJobTitleKey)
| |- warning: static property 'jobTitleKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jobTitleKey' with '@MainActor' 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 | public static let phoneticGivenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticGivenNameKey)
33 | public static let phoneticMiddleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticMiddleNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:32:23: warning: static property 'phoneticGivenNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
30 | public static let departmentNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactDepartmentNameKey)
31 | public static let jobTitleKey: ContactsConstant = ContactsConstant(rawValue: CNContactJobTitleKey)
32 | public static let phoneticGivenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticGivenNameKey)
| |- warning: static property 'phoneticGivenNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phoneticGivenNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let phoneticMiddleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticMiddleNameKey)
34 | public static let phoneticFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticFamilyNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:33:23: warning: static property 'phoneticMiddleNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
31 | public static let jobTitleKey: ContactsConstant = ContactsConstant(rawValue: CNContactJobTitleKey)
32 | public static let phoneticGivenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticGivenNameKey)
33 | public static let phoneticMiddleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticMiddleNameKey)
| |- warning: static property 'phoneticMiddleNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phoneticMiddleNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let phoneticFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticFamilyNameKey)
35 | public static let phoneticOrganizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticOrganizationNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:34:23: warning: static property 'phoneticFamilyNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
32 | public static let phoneticGivenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticGivenNameKey)
33 | public static let phoneticMiddleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticMiddleNameKey)
34 | public static let phoneticFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticFamilyNameKey)
| |- warning: static property 'phoneticFamilyNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phoneticFamilyNameKey' with '@MainActor' 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 | public static let phoneticOrganizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticOrganizationNameKey)
36 | public static let birthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactBirthdayKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:35:23: warning: static property 'phoneticOrganizationNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
33 | public static let phoneticMiddleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticMiddleNameKey)
34 | public static let phoneticFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticFamilyNameKey)
35 | public static let phoneticOrganizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticOrganizationNameKey)
| |- warning: static property 'phoneticOrganizationNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phoneticOrganizationNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let birthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactBirthdayKey)
37 | public static let nonGregorianBirthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactNonGregorianBirthdayKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:36:23: warning: static property 'birthdayKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
34 | public static let phoneticFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticFamilyNameKey)
35 | public static let phoneticOrganizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticOrganizationNameKey)
36 | public static let birthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactBirthdayKey)
| |- warning: static property 'birthdayKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'birthdayKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let nonGregorianBirthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactNonGregorianBirthdayKey)
38 | public static let noteKey: ContactsConstant = ContactsConstant(rawValue: CNContactNoteKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:37:23: warning: static property 'nonGregorianBirthdayKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
35 | public static let phoneticOrganizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticOrganizationNameKey)
36 | public static let birthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactBirthdayKey)
37 | public static let nonGregorianBirthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactNonGregorianBirthdayKey)
| |- warning: static property 'nonGregorianBirthdayKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonGregorianBirthdayKey' with '@MainActor' 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 | public static let noteKey: ContactsConstant = ContactsConstant(rawValue: CNContactNoteKey)
39 | public static let imageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:38:23: warning: static property 'noteKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
36 | public static let birthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactBirthdayKey)
37 | public static let nonGregorianBirthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactNonGregorianBirthdayKey)
38 | public static let noteKey: ContactsConstant = ContactsConstant(rawValue: CNContactNoteKey)
| |- warning: static property 'noteKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noteKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let imageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataKey)
40 | public static let thumbnailImageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactThumbnailImageDataKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:39:23: warning: static property 'imageDataKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
37 | public static let nonGregorianBirthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactNonGregorianBirthdayKey)
38 | public static let noteKey: ContactsConstant = ContactsConstant(rawValue: CNContactNoteKey)
39 | public static let imageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataKey)
| |- warning: static property 'imageDataKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageDataKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | public static let thumbnailImageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactThumbnailImageDataKey)
41 | public static let imageDataAvailableKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataAvailableKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:40:23: warning: static property 'thumbnailImageDataKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
38 | public static let noteKey: ContactsConstant = ContactsConstant(rawValue: CNContactNoteKey)
39 | public static let imageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataKey)
40 | public static let thumbnailImageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactThumbnailImageDataKey)
| |- warning: static property 'thumbnailImageDataKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'thumbnailImageDataKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public static let imageDataAvailableKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataAvailableKey)
42 | public static let typeKey: ContactsConstant = ContactsConstant(rawValue: CNContactTypeKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:41:23: warning: static property 'imageDataAvailableKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
39 | public static let imageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataKey)
40 | public static let thumbnailImageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactThumbnailImageDataKey)
41 | public static let imageDataAvailableKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataAvailableKey)
| |- warning: static property 'imageDataAvailableKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageDataAvailableKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | public static let typeKey: ContactsConstant = ContactsConstant(rawValue: CNContactTypeKey)
43 | public static let phoneNumbersKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneNumbersKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:42:23: warning: static property 'typeKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
40 | public static let thumbnailImageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactThumbnailImageDataKey)
41 | public static let imageDataAvailableKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataAvailableKey)
42 | public static let typeKey: ContactsConstant = ContactsConstant(rawValue: CNContactTypeKey)
| |- warning: static property 'typeKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typeKey' with '@MainActor' 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 | public static let phoneNumbersKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneNumbersKey)
44 | public static let emailAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactEmailAddressesKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:43:23: warning: static property 'phoneNumbersKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
41 | public static let imageDataAvailableKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataAvailableKey)
42 | public static let typeKey: ContactsConstant = ContactsConstant(rawValue: CNContactTypeKey)
43 | public static let phoneNumbersKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneNumbersKey)
| |- warning: static property 'phoneNumbersKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phoneNumbersKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let emailAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactEmailAddressesKey)
45 | public static let postalAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactPostalAddressesKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:44:23: warning: static property 'emailAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
42 | public static let typeKey: ContactsConstant = ContactsConstant(rawValue: CNContactTypeKey)
43 | public static let phoneNumbersKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneNumbersKey)
44 | public static let emailAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactEmailAddressesKey)
| |- warning: static property 'emailAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emailAddressesKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | public static let postalAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactPostalAddressesKey)
46 | public static let datesKey: ContactsConstant = ContactsConstant(rawValue: CNContactDatesKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:45:23: warning: static property 'postalAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
43 | public static let phoneNumbersKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneNumbersKey)
44 | public static let emailAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactEmailAddressesKey)
45 | public static let postalAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactPostalAddressesKey)
| |- warning: static property 'postalAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'postalAddressesKey' with '@MainActor' 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 | public static let datesKey: ContactsConstant = ContactsConstant(rawValue: CNContactDatesKey)
47 | public static let urlAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactUrlAddressesKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:46:23: warning: static property 'datesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
44 | public static let emailAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactEmailAddressesKey)
45 | public static let postalAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactPostalAddressesKey)
46 | public static let datesKey: ContactsConstant = ContactsConstant(rawValue: CNContactDatesKey)
| |- warning: static property 'datesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datesKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let urlAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactUrlAddressesKey)
48 | public static let relationsKey: ContactsConstant = ContactsConstant(rawValue: CNContactRelationsKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:47:23: warning: static property 'urlAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
45 | public static let postalAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactPostalAddressesKey)
46 | public static let datesKey: ContactsConstant = ContactsConstant(rawValue: CNContactDatesKey)
47 | public static let urlAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactUrlAddressesKey)
| |- warning: static property 'urlAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlAddressesKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let relationsKey: ContactsConstant = ContactsConstant(rawValue: CNContactRelationsKey)
49 | public static let socialProfilesKey: ContactsConstant = ContactsConstant(rawValue: CNContactSocialProfilesKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:48:23: warning: static property 'relationsKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
46 | public static let datesKey: ContactsConstant = ContactsConstant(rawValue: CNContactDatesKey)
47 | public static let urlAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactUrlAddressesKey)
48 | public static let relationsKey: ContactsConstant = ContactsConstant(rawValue: CNContactRelationsKey)
| |- warning: static property 'relationsKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'relationsKey' with '@MainActor' 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 | public static let socialProfilesKey: ContactsConstant = ContactsConstant(rawValue: CNContactSocialProfilesKey)
50 | public static let instantMessageAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactInstantMessageAddressesKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:49:23: warning: static property 'socialProfilesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
47 | public static let urlAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactUrlAddressesKey)
48 | public static let relationsKey: ContactsConstant = ContactsConstant(rawValue: CNContactRelationsKey)
49 | public static let socialProfilesKey: ContactsConstant = ContactsConstant(rawValue: CNContactSocialProfilesKey)
| |- warning: static property 'socialProfilesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'socialProfilesKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let instantMessageAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactInstantMessageAddressesKey)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:50:23: warning: static property 'instantMessageAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
48 | public static let relationsKey: ContactsConstant = ContactsConstant(rawValue: CNContactRelationsKey)
49 | public static let socialProfilesKey: ContactsConstant = ContactsConstant(rawValue: CNContactSocialProfilesKey)
50 | public static let instantMessageAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactInstantMessageAddressesKey)
| |- warning: static property 'instantMessageAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instantMessageAddressesKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
[6/8] Compiling SwiftUIContacts ContactView+ViewModifiers.swift
[7/8] Emitting module SwiftUIContacts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:19:23: warning: static property 'identifierKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
17 |
18 | // Properties that are always fetched. Can be used with key value coding and observing.
19 | public static let identifierKey: ContactsConstant = ContactsConstant(rawValue: CNContactIdentifierKey)
| |- warning: static property 'identifierKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identifierKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | // Optional properties that can be fetched. Can be used with key value coding and observing.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:22:23: warning: static property 'namePrefixKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
20 |
21 | // Optional properties that can be fetched. Can be used with key value coding and observing.
22 | public static let namePrefixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNamePrefixKey)
| |- warning: static property 'namePrefixKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namePrefixKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let givenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactGivenNameKey)
24 | public static let middleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactMiddleNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:23:23: warning: static property 'givenNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
21 | // Optional properties that can be fetched. Can be used with key value coding and observing.
22 | public static let namePrefixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNamePrefixKey)
23 | public static let givenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactGivenNameKey)
| |- warning: static property 'givenNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'givenNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let middleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactMiddleNameKey)
25 | public static let familyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactFamilyNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:24:23: warning: static property 'middleNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
22 | public static let namePrefixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNamePrefixKey)
23 | public static let givenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactGivenNameKey)
24 | public static let middleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactMiddleNameKey)
| |- warning: static property 'middleNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'middleNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let familyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactFamilyNameKey)
26 | public static let previousFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPreviousFamilyNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:25:23: warning: static property 'familyNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
23 | public static let givenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactGivenNameKey)
24 | public static let middleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactMiddleNameKey)
25 | public static let familyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactFamilyNameKey)
| |- warning: static property 'familyNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'familyNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let previousFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPreviousFamilyNameKey)
27 | public static let nameSuffixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNameSuffixKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:26:23: warning: static property 'previousFamilyNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
24 | public static let middleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactMiddleNameKey)
25 | public static let familyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactFamilyNameKey)
26 | public static let previousFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPreviousFamilyNameKey)
| |- warning: static property 'previousFamilyNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'previousFamilyNameKey' with '@MainActor' 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 | public static let nameSuffixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNameSuffixKey)
28 | public static let nicknameKey: ContactsConstant = ContactsConstant(rawValue: CNContactNicknameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:27:23: warning: static property 'nameSuffixKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
25 | public static let familyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactFamilyNameKey)
26 | public static let previousFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPreviousFamilyNameKey)
27 | public static let nameSuffixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNameSuffixKey)
| |- warning: static property 'nameSuffixKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nameSuffixKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let nicknameKey: ContactsConstant = ContactsConstant(rawValue: CNContactNicknameKey)
29 | public static let organizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactOrganizationNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:28:23: warning: static property 'nicknameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
26 | public static let previousFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPreviousFamilyNameKey)
27 | public static let nameSuffixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNameSuffixKey)
28 | public static let nicknameKey: ContactsConstant = ContactsConstant(rawValue: CNContactNicknameKey)
| |- warning: static property 'nicknameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nicknameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let organizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactOrganizationNameKey)
30 | public static let departmentNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactDepartmentNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:29:23: warning: static property 'organizationNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
27 | public static let nameSuffixKey: ContactsConstant = ContactsConstant(rawValue: CNContactNameSuffixKey)
28 | public static let nicknameKey: ContactsConstant = ContactsConstant(rawValue: CNContactNicknameKey)
29 | public static let organizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactOrganizationNameKey)
| |- warning: static property 'organizationNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'organizationNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let departmentNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactDepartmentNameKey)
31 | public static let jobTitleKey: ContactsConstant = ContactsConstant(rawValue: CNContactJobTitleKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:30:23: warning: static property 'departmentNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
28 | public static let nicknameKey: ContactsConstant = ContactsConstant(rawValue: CNContactNicknameKey)
29 | public static let organizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactOrganizationNameKey)
30 | public static let departmentNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactDepartmentNameKey)
| |- warning: static property 'departmentNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'departmentNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let jobTitleKey: ContactsConstant = ContactsConstant(rawValue: CNContactJobTitleKey)
32 | public static let phoneticGivenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticGivenNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:31:23: warning: static property 'jobTitleKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
29 | public static let organizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactOrganizationNameKey)
30 | public static let departmentNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactDepartmentNameKey)
31 | public static let jobTitleKey: ContactsConstant = ContactsConstant(rawValue: CNContactJobTitleKey)
| |- warning: static property 'jobTitleKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jobTitleKey' with '@MainActor' 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 | public static let phoneticGivenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticGivenNameKey)
33 | public static let phoneticMiddleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticMiddleNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:32:23: warning: static property 'phoneticGivenNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
30 | public static let departmentNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactDepartmentNameKey)
31 | public static let jobTitleKey: ContactsConstant = ContactsConstant(rawValue: CNContactJobTitleKey)
32 | public static let phoneticGivenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticGivenNameKey)
| |- warning: static property 'phoneticGivenNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phoneticGivenNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let phoneticMiddleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticMiddleNameKey)
34 | public static let phoneticFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticFamilyNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:33:23: warning: static property 'phoneticMiddleNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
31 | public static let jobTitleKey: ContactsConstant = ContactsConstant(rawValue: CNContactJobTitleKey)
32 | public static let phoneticGivenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticGivenNameKey)
33 | public static let phoneticMiddleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticMiddleNameKey)
| |- warning: static property 'phoneticMiddleNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phoneticMiddleNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let phoneticFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticFamilyNameKey)
35 | public static let phoneticOrganizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticOrganizationNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:34:23: warning: static property 'phoneticFamilyNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
32 | public static let phoneticGivenNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticGivenNameKey)
33 | public static let phoneticMiddleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticMiddleNameKey)
34 | public static let phoneticFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticFamilyNameKey)
| |- warning: static property 'phoneticFamilyNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phoneticFamilyNameKey' with '@MainActor' 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 | public static let phoneticOrganizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticOrganizationNameKey)
36 | public static let birthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactBirthdayKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:35:23: warning: static property 'phoneticOrganizationNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
33 | public static let phoneticMiddleNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticMiddleNameKey)
34 | public static let phoneticFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticFamilyNameKey)
35 | public static let phoneticOrganizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticOrganizationNameKey)
| |- warning: static property 'phoneticOrganizationNameKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phoneticOrganizationNameKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let birthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactBirthdayKey)
37 | public static let nonGregorianBirthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactNonGregorianBirthdayKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:36:23: warning: static property 'birthdayKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
34 | public static let phoneticFamilyNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticFamilyNameKey)
35 | public static let phoneticOrganizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticOrganizationNameKey)
36 | public static let birthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactBirthdayKey)
| |- warning: static property 'birthdayKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'birthdayKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let nonGregorianBirthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactNonGregorianBirthdayKey)
38 | public static let noteKey: ContactsConstant = ContactsConstant(rawValue: CNContactNoteKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:37:23: warning: static property 'nonGregorianBirthdayKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
35 | public static let phoneticOrganizationNameKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneticOrganizationNameKey)
36 | public static let birthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactBirthdayKey)
37 | public static let nonGregorianBirthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactNonGregorianBirthdayKey)
| |- warning: static property 'nonGregorianBirthdayKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonGregorianBirthdayKey' with '@MainActor' 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 | public static let noteKey: ContactsConstant = ContactsConstant(rawValue: CNContactNoteKey)
39 | public static let imageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:38:23: warning: static property 'noteKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
36 | public static let birthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactBirthdayKey)
37 | public static let nonGregorianBirthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactNonGregorianBirthdayKey)
38 | public static let noteKey: ContactsConstant = ContactsConstant(rawValue: CNContactNoteKey)
| |- warning: static property 'noteKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noteKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let imageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataKey)
40 | public static let thumbnailImageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactThumbnailImageDataKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:39:23: warning: static property 'imageDataKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
37 | public static let nonGregorianBirthdayKey: ContactsConstant = ContactsConstant(rawValue: CNContactNonGregorianBirthdayKey)
38 | public static let noteKey: ContactsConstant = ContactsConstant(rawValue: CNContactNoteKey)
39 | public static let imageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataKey)
| |- warning: static property 'imageDataKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageDataKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | public static let thumbnailImageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactThumbnailImageDataKey)
41 | public static let imageDataAvailableKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataAvailableKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:40:23: warning: static property 'thumbnailImageDataKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
38 | public static let noteKey: ContactsConstant = ContactsConstant(rawValue: CNContactNoteKey)
39 | public static let imageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataKey)
40 | public static let thumbnailImageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactThumbnailImageDataKey)
| |- warning: static property 'thumbnailImageDataKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'thumbnailImageDataKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public static let imageDataAvailableKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataAvailableKey)
42 | public static let typeKey: ContactsConstant = ContactsConstant(rawValue: CNContactTypeKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:41:23: warning: static property 'imageDataAvailableKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
39 | public static let imageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataKey)
40 | public static let thumbnailImageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactThumbnailImageDataKey)
41 | public static let imageDataAvailableKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataAvailableKey)
| |- warning: static property 'imageDataAvailableKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageDataAvailableKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | public static let typeKey: ContactsConstant = ContactsConstant(rawValue: CNContactTypeKey)
43 | public static let phoneNumbersKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneNumbersKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:42:23: warning: static property 'typeKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
40 | public static let thumbnailImageDataKey: ContactsConstant = ContactsConstant(rawValue: CNContactThumbnailImageDataKey)
41 | public static let imageDataAvailableKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataAvailableKey)
42 | public static let typeKey: ContactsConstant = ContactsConstant(rawValue: CNContactTypeKey)
| |- warning: static property 'typeKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typeKey' with '@MainActor' 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 | public static let phoneNumbersKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneNumbersKey)
44 | public static let emailAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactEmailAddressesKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:43:23: warning: static property 'phoneNumbersKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
41 | public static let imageDataAvailableKey: ContactsConstant = ContactsConstant(rawValue: CNContactImageDataAvailableKey)
42 | public static let typeKey: ContactsConstant = ContactsConstant(rawValue: CNContactTypeKey)
43 | public static let phoneNumbersKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneNumbersKey)
| |- warning: static property 'phoneNumbersKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phoneNumbersKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let emailAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactEmailAddressesKey)
45 | public static let postalAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactPostalAddressesKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:44:23: warning: static property 'emailAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
42 | public static let typeKey: ContactsConstant = ContactsConstant(rawValue: CNContactTypeKey)
43 | public static let phoneNumbersKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneNumbersKey)
44 | public static let emailAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactEmailAddressesKey)
| |- warning: static property 'emailAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emailAddressesKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | public static let postalAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactPostalAddressesKey)
46 | public static let datesKey: ContactsConstant = ContactsConstant(rawValue: CNContactDatesKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:45:23: warning: static property 'postalAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
43 | public static let phoneNumbersKey: ContactsConstant = ContactsConstant(rawValue: CNContactPhoneNumbersKey)
44 | public static let emailAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactEmailAddressesKey)
45 | public static let postalAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactPostalAddressesKey)
| |- warning: static property 'postalAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'postalAddressesKey' with '@MainActor' 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 | public static let datesKey: ContactsConstant = ContactsConstant(rawValue: CNContactDatesKey)
47 | public static let urlAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactUrlAddressesKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:46:23: warning: static property 'datesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
44 | public static let emailAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactEmailAddressesKey)
45 | public static let postalAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactPostalAddressesKey)
46 | public static let datesKey: ContactsConstant = ContactsConstant(rawValue: CNContactDatesKey)
| |- warning: static property 'datesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datesKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let urlAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactUrlAddressesKey)
48 | public static let relationsKey: ContactsConstant = ContactsConstant(rawValue: CNContactRelationsKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:47:23: warning: static property 'urlAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
45 | public static let postalAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactPostalAddressesKey)
46 | public static let datesKey: ContactsConstant = ContactsConstant(rawValue: CNContactDatesKey)
47 | public static let urlAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactUrlAddressesKey)
| |- warning: static property 'urlAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlAddressesKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let relationsKey: ContactsConstant = ContactsConstant(rawValue: CNContactRelationsKey)
49 | public static let socialProfilesKey: ContactsConstant = ContactsConstant(rawValue: CNContactSocialProfilesKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:48:23: warning: static property 'relationsKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
46 | public static let datesKey: ContactsConstant = ContactsConstant(rawValue: CNContactDatesKey)
47 | public static let urlAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactUrlAddressesKey)
48 | public static let relationsKey: ContactsConstant = ContactsConstant(rawValue: CNContactRelationsKey)
| |- warning: static property 'relationsKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'relationsKey' with '@MainActor' 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 | public static let socialProfilesKey: ContactsConstant = ContactsConstant(rawValue: CNContactSocialProfilesKey)
50 | public static let instantMessageAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactInstantMessageAddressesKey)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:49:23: warning: static property 'socialProfilesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
47 | public static let urlAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactUrlAddressesKey)
48 | public static let relationsKey: ContactsConstant = ContactsConstant(rawValue: CNContactRelationsKey)
49 | public static let socialProfilesKey: ContactsConstant = ContactsConstant(rawValue: CNContactSocialProfilesKey)
| |- warning: static property 'socialProfilesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'socialProfilesKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let instantMessageAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactInstantMessageAddressesKey)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIContacts/Extensions/Contacts+Constants.swift:50:23: warning: static property 'instantMessageAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Contacts
10 |
11 | public struct ContactsConstant: RawRepresentable {
| `- note: consider making struct 'ContactsConstant' conform to the 'Sendable' protocol
12 | public var rawValue: String
13 |
:
48 | public static let relationsKey: ContactsConstant = ContactsConstant(rawValue: CNContactRelationsKey)
49 | public static let socialProfilesKey: ContactsConstant = ContactsConstant(rawValue: CNContactSocialProfilesKey)
50 | public static let instantMessageAddressesKey: ContactsConstant = ContactsConstant(rawValue: CNContactInstantMessageAddressesKey)
| |- warning: static property 'instantMessageAddressesKey' is not concurrency-safe because non-'Sendable' type 'ContactsConstant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instantMessageAddressesKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
[8/8] Compiling SwiftUIContacts ContactPicker+ViewModifiers.swift
Build complete! (18.92s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftUIContacts",
"name" : "SwiftUIContacts",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SwiftUIContacts",
"targets" : [
"SwiftUIContacts"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftUIContactsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftUIContactsTests",
"path" : "Tests/SwiftUIContactsTests",
"sources" : [
"SwiftUIContactsTests.swift"
],
"target_dependencies" : [
"SwiftUIContacts"
],
"type" : "test"
},
{
"c99name" : "SwiftUIContacts",
"module_type" : "SwiftTarget",
"name" : "SwiftUIContacts",
"path" : "Sources/SwiftUIContacts",
"product_memberships" : [
"SwiftUIContacts"
],
"sources" : [
"CNContactPickerViewController/ContactPicker+ViewModifiers.swift",
"CNContactPickerViewController/ContactPicker.swift",
"CNContactViewController/ContactView+ViewModifiers.swift",
"CNContactViewController/ContactView.swift",
"Extensions/Contacts+Constants.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.