Build Information
Successful build of SwiftSpellbook_macOS, reference 1.1.3 (3e9593
), with Swift 6.0 for macOS (SPM) on 14 Nov 2024 10:20:55 UTC.
Swift 6 data race errors: 66
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
167 | public static let username = Self(rawValue: ID_TYPE_USERNAME)
| |- warning: static property 'username' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'username' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |
169 | /// A NULL terminated UTF8 string.
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/Membership.swift:170:27: warning: static property 'groupName' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | extension Membership {
153 | public struct IDType: RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'IDType' conform to the 'Sendable' protocol
154 | public var rawValue: Int32
155 | public init(rawValue: Int32) { self.rawValue = rawValue }
:
168 |
169 | /// A NULL terminated UTF8 string.
170 | public static let groupName = Self(rawValue: ID_TYPE_GROUPNAME)
| |- warning: static property 'groupName' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 |
172 | /// is of type uuid_t.
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/Membership.swift:173:27: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | extension Membership {
153 | public struct IDType: RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'IDType' conform to the 'Sendable' protocol
154 | public var rawValue: Int32
155 | public init(rawValue: Int32) { self.rawValue = rawValue }
:
171 |
172 | /// is of type uuid_t.
173 | public static let uuid = Self(rawValue: ID_TYPE_UUID)
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// A NULL terminated UTF8 string.
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/Membership.swift:176:27: warning: static property 'groupNFS' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | extension Membership {
153 | public struct IDType: RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'IDType' conform to the 'Sendable' protocol
154 | public var rawValue: Int32
155 | public init(rawValue: Int32) { self.rawValue = rawValue }
:
174 |
175 | /// A NULL terminated UTF8 string.
176 | public static let groupNFS = Self(rawValue: ID_TYPE_GROUP_NFS)
| |- warning: static property 'groupNFS' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupNFS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 | /// A NULL terminated UTF8 string.
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/Membership.swift:179:27: warning: static property 'userNFS' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | extension Membership {
153 | public struct IDType: RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'IDType' conform to the 'Sendable' protocol
154 | public var rawValue: Int32
155 | public init(rawValue: Int32) { self.rawValue = rawValue }
:
177 |
178 | /// A NULL terminated UTF8 string.
179 | public static let userNFS = Self(rawValue: ID_TYPE_USER_NFS)
| |- warning: static property 'userNFS' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userNFS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |
181 | /// A gss exported name.
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/Membership.swift:182:27: warning: static property 'gssExportName' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | extension Membership {
153 | public struct IDType: RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'IDType' conform to the 'Sendable' protocol
154 | public var rawValue: Int32
155 | public init(rawValue: Int32) { self.rawValue = rawValue }
:
180 |
181 | /// A gss exported name.
182 | public static let gssExportName = Self(rawValue: ID_TYPE_GSS_EXPORT_NAME)
| |- warning: static property 'gssExportName' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gssExportName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 |
184 | /// A NULL terminated string representation of the X.509 certificate identity
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/Membership.swift:187:27: warning: static property 'x509DN' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | extension Membership {
153 | public struct IDType: RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'IDType' conform to the 'Sendable' protocol
154 | public var rawValue: Int32
155 | public init(rawValue: Int32) { self.rawValue = rawValue }
:
185 | /// with the format of: `<I>DN of the Certificate authority<S>DN of the holder`.
186 | /// Example: `<I>DC=com,DC=example,CN=CertificatAuthority<S>DC=com,DC=example,CN=username`.
187 | public static let x509DN = Self(rawValue: ID_TYPE_X509_DN)
| |- warning: static property 'x509DN' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'x509DN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 |
189 | /// A NULL terminated string representation of a Kerberos principal
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/Membership.swift:191:27: warning: static property 'kerberos' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | extension Membership {
153 | public struct IDType: RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'IDType' conform to the 'Sendable' protocol
154 | public var rawValue: Int32
155 | public init(rawValue: Int32) { self.rawValue = rawValue }
:
189 | /// A NULL terminated string representation of a Kerberos principal
190 | /// in the form of `user\@REALM` representing a typical Kerberos principal.
191 | public static let kerberos = Self(rawValue: ID_TYPE_KERBEROS)
| |- warning: static property 'kerberos' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kerberos' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | }
193 | }
[88/103] Compiling SpellbookMac UnixUser.swift
[89/103] Compiling SpellbookMac Sysctl.swift
[90/103] Compiling SpellbookMac Extensions - ProcessInfo.swift
[91/103] Compiling SpellbookMac ACL.swift
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:149:27: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'ACL.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | extension ACL {
143 | public struct Tag: _ACLValue, Hashable, Codable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
144 | public typealias ACLType = acl_tag_t
145 |
:
147 | public init(rawValue: UInt32) { self.rawValue = rawValue }
148 |
149 | public static let undefined = Self(native: ACL_UNDEFINED_TAG)
| |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'ACL.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'undefined' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | public static let extendedAllow = Self(native: ACL_EXTENDED_ALLOW)
151 | public static let extendedDeny = Self(native: ACL_EXTENDED_DENY)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:150:27: warning: static property 'extendedAllow' is not concurrency-safe because non-'Sendable' type 'ACL.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | extension ACL {
143 | public struct Tag: _ACLValue, Hashable, Codable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
144 | public typealias ACLType = acl_tag_t
145 |
:
148 |
149 | public static let undefined = Self(native: ACL_UNDEFINED_TAG)
150 | public static let extendedAllow = Self(native: ACL_EXTENDED_ALLOW)
| |- warning: static property 'extendedAllow' is not concurrency-safe because non-'Sendable' type 'ACL.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extendedAllow' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let extendedDeny = Self(native: ACL_EXTENDED_DENY)
152 | }
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:151:27: warning: static property 'extendedDeny' is not concurrency-safe because non-'Sendable' type 'ACL.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | extension ACL {
143 | public struct Tag: _ACLValue, Hashable, Codable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
144 | public typealias ACLType = acl_tag_t
145 |
:
149 | public static let undefined = Self(native: ACL_UNDEFINED_TAG)
150 | public static let extendedAllow = Self(native: ACL_EXTENDED_ALLOW)
151 | public static let extendedDeny = Self(native: ACL_EXTENDED_DENY)
| |- warning: static property 'extendedDeny' is not concurrency-safe because non-'Sendable' type 'ACL.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extendedDeny' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 | }
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:175:27: warning: static property 'readData' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
173 | public init(rawValue: UInt32) { self.rawValue = rawValue }
174 |
175 | public static let readData = Self(native: ACL_READ_DATA)
| |- warning: static property 'readData' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | public static let listDirectory = Self(native: ACL_LIST_DIRECTORY)
177 | public static let writeData = Self(native: ACL_WRITE_DATA)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:176:27: warning: static property 'listDirectory' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
174 |
175 | public static let readData = Self(native: ACL_READ_DATA)
176 | public static let listDirectory = Self(native: ACL_LIST_DIRECTORY)
| |- warning: static property 'listDirectory' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'listDirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 | public static let writeData = Self(native: ACL_WRITE_DATA)
178 | public static let addFile = Self(native: ACL_ADD_FILE)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:177:27: warning: static property 'writeData' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
175 | public static let readData = Self(native: ACL_READ_DATA)
176 | public static let listDirectory = Self(native: ACL_LIST_DIRECTORY)
177 | public static let writeData = Self(native: ACL_WRITE_DATA)
| |- warning: static property 'writeData' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writeData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | public static let addFile = Self(native: ACL_ADD_FILE)
179 | public static let execute = Self(native: ACL_EXECUTE)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:178:27: warning: static property 'addFile' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
176 | public static let listDirectory = Self(native: ACL_LIST_DIRECTORY)
177 | public static let writeData = Self(native: ACL_WRITE_DATA)
178 | public static let addFile = Self(native: ACL_ADD_FILE)
| |- warning: static property 'addFile' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'addFile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | public static let execute = Self(native: ACL_EXECUTE)
180 | public static let search = Self(native: ACL_SEARCH)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:179:27: warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
177 | public static let writeData = Self(native: ACL_WRITE_DATA)
178 | public static let addFile = Self(native: ACL_ADD_FILE)
179 | public static let execute = Self(native: ACL_EXECUTE)
| |- warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'execute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 | public static let search = Self(native: ACL_SEARCH)
181 | public static let delete = Self(native: ACL_DELETE)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:180:27: warning: static property 'search' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
178 | public static let addFile = Self(native: ACL_ADD_FILE)
179 | public static let execute = Self(native: ACL_EXECUTE)
180 | public static let search = Self(native: ACL_SEARCH)
| |- warning: static property 'search' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'search' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | public static let delete = Self(native: ACL_DELETE)
182 | public static let appendData = Self(native: ACL_APPEND_DATA)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:181:27: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
179 | public static let execute = Self(native: ACL_EXECUTE)
180 | public static let search = Self(native: ACL_SEARCH)
181 | public static let delete = Self(native: ACL_DELETE)
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 | public static let appendData = Self(native: ACL_APPEND_DATA)
183 | public static let addSubdirectory = Self(native: ACL_ADD_SUBDIRECTORY)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:182:27: warning: static property 'appendData' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
180 | public static let search = Self(native: ACL_SEARCH)
181 | public static let delete = Self(native: ACL_DELETE)
182 | public static let appendData = Self(native: ACL_APPEND_DATA)
| |- warning: static property 'appendData' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'appendData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | public static let addSubdirectory = Self(native: ACL_ADD_SUBDIRECTORY)
184 | public static let deleteChild = Self(native: ACL_DELETE_CHILD)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:183:27: warning: static property 'addSubdirectory' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
181 | public static let delete = Self(native: ACL_DELETE)
182 | public static let appendData = Self(native: ACL_APPEND_DATA)
183 | public static let addSubdirectory = Self(native: ACL_ADD_SUBDIRECTORY)
| |- warning: static property 'addSubdirectory' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'addSubdirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | public static let deleteChild = Self(native: ACL_DELETE_CHILD)
185 | public static let readAttributes = Self(native: ACL_READ_ATTRIBUTES)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:184:27: warning: static property 'deleteChild' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
182 | public static let appendData = Self(native: ACL_APPEND_DATA)
183 | public static let addSubdirectory = Self(native: ACL_ADD_SUBDIRECTORY)
184 | public static let deleteChild = Self(native: ACL_DELETE_CHILD)
| |- warning: static property 'deleteChild' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deleteChild' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | public static let readAttributes = Self(native: ACL_READ_ATTRIBUTES)
186 | public static let writeAttributes = Self(native: ACL_WRITE_ATTRIBUTES)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:185:27: warning: static property 'readAttributes' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
183 | public static let addSubdirectory = Self(native: ACL_ADD_SUBDIRECTORY)
184 | public static let deleteChild = Self(native: ACL_DELETE_CHILD)
185 | public static let readAttributes = Self(native: ACL_READ_ATTRIBUTES)
| |- warning: static property 'readAttributes' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | public static let writeAttributes = Self(native: ACL_WRITE_ATTRIBUTES)
187 | public static let readExtattributes = Self(native: ACL_READ_EXTATTRIBUTES)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:186:27: warning: static property 'writeAttributes' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
184 | public static let deleteChild = Self(native: ACL_DELETE_CHILD)
185 | public static let readAttributes = Self(native: ACL_READ_ATTRIBUTES)
186 | public static let writeAttributes = Self(native: ACL_WRITE_ATTRIBUTES)
| |- warning: static property 'writeAttributes' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writeAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | public static let readExtattributes = Self(native: ACL_READ_EXTATTRIBUTES)
188 | public static let writeExtattributes = Self(native: ACL_WRITE_EXTATTRIBUTES)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:187:27: warning: static property 'readExtattributes' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
185 | public static let readAttributes = Self(native: ACL_READ_ATTRIBUTES)
186 | public static let writeAttributes = Self(native: ACL_WRITE_ATTRIBUTES)
187 | public static let readExtattributes = Self(native: ACL_READ_EXTATTRIBUTES)
| |- warning: static property 'readExtattributes' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readExtattributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | public static let writeExtattributes = Self(native: ACL_WRITE_EXTATTRIBUTES)
189 | public static let readSecurity = Self(native: ACL_READ_SECURITY)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:188:27: warning: static property 'writeExtattributes' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
186 | public static let writeAttributes = Self(native: ACL_WRITE_ATTRIBUTES)
187 | public static let readExtattributes = Self(native: ACL_READ_EXTATTRIBUTES)
188 | public static let writeExtattributes = Self(native: ACL_WRITE_EXTATTRIBUTES)
| |- warning: static property 'writeExtattributes' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writeExtattributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | public static let readSecurity = Self(native: ACL_READ_SECURITY)
190 | public static let writeSecurity = Self(native: ACL_WRITE_SECURITY)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:189:27: warning: static property 'readSecurity' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
187 | public static let readExtattributes = Self(native: ACL_READ_EXTATTRIBUTES)
188 | public static let writeExtattributes = Self(native: ACL_WRITE_EXTATTRIBUTES)
189 | public static let readSecurity = Self(native: ACL_READ_SECURITY)
| |- warning: static property 'readSecurity' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readSecurity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | public static let writeSecurity = Self(native: ACL_WRITE_SECURITY)
191 | public static let changeOwner = Self(native: ACL_CHANGE_OWNER)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:190:27: warning: static property 'writeSecurity' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
188 | public static let writeExtattributes = Self(native: ACL_WRITE_EXTATTRIBUTES)
189 | public static let readSecurity = Self(native: ACL_READ_SECURITY)
190 | public static let writeSecurity = Self(native: ACL_WRITE_SECURITY)
| |- warning: static property 'writeSecurity' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writeSecurity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | public static let changeOwner = Self(native: ACL_CHANGE_OWNER)
192 | public static let synchronize = Self(native: ACL_SYNCHRONIZE)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:191:27: warning: static property 'changeOwner' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
189 | public static let readSecurity = Self(native: ACL_READ_SECURITY)
190 | public static let writeSecurity = Self(native: ACL_WRITE_SECURITY)
191 | public static let changeOwner = Self(native: ACL_CHANGE_OWNER)
| |- warning: static property 'changeOwner' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'changeOwner' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | public static let synchronize = Self(native: ACL_SYNCHRONIZE)
193 | }
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:192:27: warning: static property 'synchronize' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | extension ACL {
169 | public struct Permissions: _ACLValue, OptionSet, Codable {
| `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
170 | public typealias ACLType = acl_perm_t
171 |
:
190 | public static let writeSecurity = Self(native: ACL_WRITE_SECURITY)
191 | public static let changeOwner = Self(native: ACL_CHANGE_OWNER)
192 | public static let synchronize = Self(native: ACL_SYNCHRONIZE)
| |- warning: static property 'synchronize' is not concurrency-safe because non-'Sendable' type 'ACL.Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'synchronize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | }
194 | }
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:205:27: warning: static property 'entryInherited' is not concurrency-safe because non-'Sendable' type 'ACL.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
197 |
198 | extension ACL {
199 | public struct Flags: _ACLValue, Hashable, Codable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
200 | public typealias ACLType = acl_flag_t
201 |
:
203 | public init(rawValue: UInt32) { self.rawValue = rawValue }
204 |
205 | public static let entryInherited = Self(native: ACL_ENTRY_INHERITED)
| |- warning: static property 'entryInherited' is not concurrency-safe because non-'Sendable' type 'ACL.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entryInherited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 | public static let entryFileInherit = Self(native: ACL_ENTRY_FILE_INHERIT)
207 | public static let entryDirectoryInherit = Self(native: ACL_ENTRY_DIRECTORY_INHERIT)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:206:27: warning: static property 'entryFileInherit' is not concurrency-safe because non-'Sendable' type 'ACL.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
197 |
198 | extension ACL {
199 | public struct Flags: _ACLValue, Hashable, Codable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
200 | public typealias ACLType = acl_flag_t
201 |
:
204 |
205 | public static let entryInherited = Self(native: ACL_ENTRY_INHERITED)
206 | public static let entryFileInherit = Self(native: ACL_ENTRY_FILE_INHERIT)
| |- warning: static property 'entryFileInherit' is not concurrency-safe because non-'Sendable' type 'ACL.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entryFileInherit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | public static let entryDirectoryInherit = Self(native: ACL_ENTRY_DIRECTORY_INHERIT)
208 | public static let entryLimitInherit = Self(native: ACL_ENTRY_LIMIT_INHERIT)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:207:27: warning: static property 'entryDirectoryInherit' is not concurrency-safe because non-'Sendable' type 'ACL.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
197 |
198 | extension ACL {
199 | public struct Flags: _ACLValue, Hashable, Codable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
200 | public typealias ACLType = acl_flag_t
201 |
:
205 | public static let entryInherited = Self(native: ACL_ENTRY_INHERITED)
206 | public static let entryFileInherit = Self(native: ACL_ENTRY_FILE_INHERIT)
207 | public static let entryDirectoryInherit = Self(native: ACL_ENTRY_DIRECTORY_INHERIT)
| |- warning: static property 'entryDirectoryInherit' is not concurrency-safe because non-'Sendable' type 'ACL.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entryDirectoryInherit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | public static let entryLimitInherit = Self(native: ACL_ENTRY_LIMIT_INHERIT)
209 | public static let entryOnlyInherit = Self(native: ACL_ENTRY_ONLY_INHERIT)
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:208:27: warning: static property 'entryLimitInherit' is not concurrency-safe because non-'Sendable' type 'ACL.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
197 |
198 | extension ACL {
199 | public struct Flags: _ACLValue, Hashable, Codable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
200 | public typealias ACLType = acl_flag_t
201 |
:
206 | public static let entryFileInherit = Self(native: ACL_ENTRY_FILE_INHERIT)
207 | public static let entryDirectoryInherit = Self(native: ACL_ENTRY_DIRECTORY_INHERIT)
208 | public static let entryLimitInherit = Self(native: ACL_ENTRY_LIMIT_INHERIT)
| |- warning: static property 'entryLimitInherit' is not concurrency-safe because non-'Sendable' type 'ACL.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entryLimitInherit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | public static let entryOnlyInherit = Self(native: ACL_ENTRY_ONLY_INHERIT)
210 | }
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/ACL.swift:209:27: warning: static property 'entryOnlyInherit' is not concurrency-safe because non-'Sendable' type 'ACL.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
197 |
198 | extension ACL {
199 | public struct Flags: _ACLValue, Hashable, Codable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
200 | public typealias ACLType = acl_flag_t
201 |
:
207 | public static let entryDirectoryInherit = Self(native: ACL_ENTRY_DIRECTORY_INHERIT)
208 | public static let entryLimitInherit = Self(native: ACL_ENTRY_LIMIT_INHERIT)
209 | public static let entryOnlyInherit = Self(native: ACL_ENTRY_ONLY_INHERIT)
| |- warning: static property 'entryOnlyInherit' is not concurrency-safe because non-'Sendable' type 'ACL.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entryOnlyInherit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 | }
211 | }
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/Membership.swift:158:27: warning: static property 'uid' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | extension Membership {
153 | public struct IDType: RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'IDType' conform to the 'Sendable' protocol
154 | public var rawValue: Int32
155 | public init(rawValue: Int32) { self.rawValue = rawValue }
156 |
157 | /// Of type uid_t.
158 | public static let uid = Self(rawValue: ID_TYPE_UID)
| |- warning: static property 'uid' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |
160 | /// Of type gid_t.
/Users/admin/builder/spi-builder-workspace/Mac/Sources/SpellbookMac/Users & Groups/Membership.swift:161:27: warning: static property 'gid' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | extension Membership {
153 | public struct IDType: RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'IDType' conform to the 'Sendable' protocol
154 | public var rawValue: Int32
155 | public init(rawValue: Int32) { self.rawValue = rawValue }
:
159 |
160 | /// Of type gid_t.
161 | public static let gid = Self(rawValue: ID_TYPE_GID)
| |- warning: static property 'gid' is not concurrency-safe because non-'Sendable' type 'Membership.IDType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | /// Of type ntsid_t.
[92/103] Compiling SpellbookEndpointSecurity ESNativeTypeUtils.swift
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient - Native/ESNativeTypeUtils.swift:36:24: warning: static property 'dummyConverter' is not concurrency-safe because non-'Sendable' type 'ESConverter' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | private static let dummyConverter = ESConverter(version: 0)
| |- warning: static property 'dummyConverter' is not concurrency-safe because non-'Sendable' type 'ESConverter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyConverter' with '@MainActor' 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 |
38 | private func parse<T>(
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:27:15: note: consider making struct 'ESConverter' conform to the 'Sendable' protocol
25 | import SpellbookFoundation
26 |
27 | public struct ESConverter {
| `- note: consider making struct 'ESConverter' conform to the 'Sendable' protocol
28 | public var version: UInt32
29 | public var config: Config
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:50:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension ESConverter {
38 | public struct Config: Equatable, Codable {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
39 | public var execArgs: Bool
40 | public var execEnv: Bool
:
48 |
49 | extension ESConverter.Config {
50 | public static let `default` = Self(execArgs: false, execEnv: false)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' 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 | public static let full = Self(execArgs: true, execEnv: true)
52 | }
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient - Native/ESNativeTypeUtils.swift:78:13: warning: var 'validESEventsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | }
77 |
78 | private var validESEventsCache: Set<es_event_type_t>?
| |- warning: var 'validESEventsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validESEventsCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'validESEventsCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | private var validESEventsCacheLock = UnfairLock()
80 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient - Native/ESNativeTypeUtils.swift:79:13: warning: var 'validESEventsCacheLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | private var validESEventsCache: Set<es_event_type_t>?
79 | private var validESEventsCacheLock = UnfairLock()
| |- warning: var 'validESEventsCacheLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validESEventsCacheLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'validESEventsCacheLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | private let fallbackESEvents: Set<es_event_type_t> = {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClient.swift:28:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
26 | import SpellbookFoundation
27 |
28 | private let log = SpellbookLogger.internalLog(.client)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | public final class ESClient: ESClientProtocol {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClient.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
24 | import EndpointSecurity
25 | import Foundation
26 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
27 |
28 | private let log = SpellbookLogger.internalLog(.client)
| |- note: annotate 'log' with '@MainActor' 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 |
30 | public final class ESClient: ESClientProtocol {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:95:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public struct ESEventSet: Equatable, Codable {
| `- note: consider making struct 'ESEventSet' conform to the 'Sendable' protocol
78 | public var events: Set<es_event_type_t>
79 | }
:
93 | extension ESEventSet {
94 | public static let empty = ESEventSet(events: [])
95 | public static let all = ESEventSet(events: (0..<ES_EVENT_TYPE_LAST.rawValue).map(es_event_type_t.init(rawValue:)))
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:39:23: warning: static property 'allowOnce' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | public struct ESAuthResolution: Equatable, Codable {
| `- note: consider making struct 'ESAuthResolution' conform to the 'Sendable' protocol
28 | public var result: ESAuthResult
29 | public var cache: Bool
:
37 | extension ESAuthResolution {
38 | public static let allow = ESAuthResolution(result: .auth(true), cache: true)
39 | public static let allowOnce = ESAuthResolution(result: .auth(true), cache: false)
| |- warning: static property 'allowOnce' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowOnce' with '@MainActor' 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 deny = ESAuthResolution(result: .auth(false), cache: true)
41 | public static let denyOnce = ESAuthResolution(result: .auth(false), cache: false)
[93/103] Compiling SpellbookEndpointSecurity ESClient.swift
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient - Native/ESNativeTypeUtils.swift:36:24: warning: static property 'dummyConverter' is not concurrency-safe because non-'Sendable' type 'ESConverter' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | private static let dummyConverter = ESConverter(version: 0)
| |- warning: static property 'dummyConverter' is not concurrency-safe because non-'Sendable' type 'ESConverter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyConverter' with '@MainActor' 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 |
38 | private func parse<T>(
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:27:15: note: consider making struct 'ESConverter' conform to the 'Sendable' protocol
25 | import SpellbookFoundation
26 |
27 | public struct ESConverter {
| `- note: consider making struct 'ESConverter' conform to the 'Sendable' protocol
28 | public var version: UInt32
29 | public var config: Config
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:50:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension ESConverter {
38 | public struct Config: Equatable, Codable {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
39 | public var execArgs: Bool
40 | public var execEnv: Bool
:
48 |
49 | extension ESConverter.Config {
50 | public static let `default` = Self(execArgs: false, execEnv: false)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' 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 | public static let full = Self(execArgs: true, execEnv: true)
52 | }
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient - Native/ESNativeTypeUtils.swift:78:13: warning: var 'validESEventsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | }
77 |
78 | private var validESEventsCache: Set<es_event_type_t>?
| |- warning: var 'validESEventsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validESEventsCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'validESEventsCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | private var validESEventsCacheLock = UnfairLock()
80 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient - Native/ESNativeTypeUtils.swift:79:13: warning: var 'validESEventsCacheLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | private var validESEventsCache: Set<es_event_type_t>?
79 | private var validESEventsCacheLock = UnfairLock()
| |- warning: var 'validESEventsCacheLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validESEventsCacheLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'validESEventsCacheLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | private let fallbackESEvents: Set<es_event_type_t> = {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClient.swift:28:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
26 | import SpellbookFoundation
27 |
28 | private let log = SpellbookLogger.internalLog(.client)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | public final class ESClient: ESClientProtocol {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClient.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
24 | import EndpointSecurity
25 | import Foundation
26 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
27 |
28 | private let log = SpellbookLogger.internalLog(.client)
| |- note: annotate 'log' with '@MainActor' 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 |
30 | public final class ESClient: ESClientProtocol {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:95:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public struct ESEventSet: Equatable, Codable {
| `- note: consider making struct 'ESEventSet' conform to the 'Sendable' protocol
78 | public var events: Set<es_event_type_t>
79 | }
:
93 | extension ESEventSet {
94 | public static let empty = ESEventSet(events: [])
95 | public static let all = ESEventSet(events: (0..<ES_EVENT_TYPE_LAST.rawValue).map(es_event_type_t.init(rawValue:)))
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:39:23: warning: static property 'allowOnce' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | public struct ESAuthResolution: Equatable, Codable {
| `- note: consider making struct 'ESAuthResolution' conform to the 'Sendable' protocol
28 | public var result: ESAuthResult
29 | public var cache: Bool
:
37 | extension ESAuthResolution {
38 | public static let allow = ESAuthResolution(result: .auth(true), cache: true)
39 | public static let allowOnce = ESAuthResolution(result: .auth(true), cache: false)
| |- warning: static property 'allowOnce' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowOnce' with '@MainActor' 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 deny = ESAuthResolution(result: .auth(false), cache: true)
41 | public static let denyOnce = ESAuthResolution(result: .auth(false), cache: false)
[94/103] Compiling SpellbookMac Extensions - Process.swift
[95/103] Compiling SpellbookMac Extensions - Coordinates.swift
[96/103] Compiling SpellbookMac CGWindowInfo.swift
[97/122] Emitting module SpellbookEndpointSecurity
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient - Native/ESNativeTypeUtils.swift:36:24: warning: static property 'dummyConverter' is not concurrency-safe because non-'Sendable' type 'ESConverter' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | private static let dummyConverter = ESConverter(version: 0)
| |- warning: static property 'dummyConverter' is not concurrency-safe because non-'Sendable' type 'ESConverter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyConverter' with '@MainActor' 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 |
38 | private func parse<T>(
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:27:15: note: consider making struct 'ESConverter' conform to the 'Sendable' protocol
25 | import SpellbookFoundation
26 |
27 | public struct ESConverter {
| `- note: consider making struct 'ESConverter' conform to the 'Sendable' protocol
28 | public var version: UInt32
29 | public var config: Config
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:50:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension ESConverter {
38 | public struct Config: Equatable, Codable {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
39 | public var execArgs: Bool
40 | public var execEnv: Bool
:
48 |
49 | extension ESConverter.Config {
50 | public static let `default` = Self(execArgs: false, execEnv: false)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' 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 | public static let full = Self(execArgs: true, execEnv: true)
52 | }
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient - Native/ESNativeTypeUtils.swift:78:13: warning: var 'validESEventsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | }
77 |
78 | private var validESEventsCache: Set<es_event_type_t>?
| |- warning: var 'validESEventsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validESEventsCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'validESEventsCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | private var validESEventsCacheLock = UnfairLock()
80 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient - Native/ESNativeTypeUtils.swift:79:13: warning: var 'validESEventsCacheLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | private var validESEventsCache: Set<es_event_type_t>?
79 | private var validESEventsCacheLock = UnfairLock()
| |- warning: var 'validESEventsCacheLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validESEventsCacheLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'validESEventsCacheLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | private let fallbackESEvents: Set<es_event_type_t> = {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClient.swift:28:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
26 | import SpellbookFoundation
27 |
28 | private let log = SpellbookLogger.internalLog(.client)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | public final class ESClient: ESClientProtocol {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClient.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
24 | import EndpointSecurity
25 | import Foundation
26 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
27 |
28 | private let log = SpellbookLogger.internalLog(.client)
| |- note: annotate 'log' with '@MainActor' 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 |
30 | public final class ESClient: ESClientProtocol {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:95:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public struct ESEventSet: Equatable, Codable {
| `- note: consider making struct 'ESEventSet' conform to the 'Sendable' protocol
78 | public var events: Set<es_event_type_t>
79 | }
:
93 | extension ESEventSet {
94 | public static let empty = ESEventSet(events: [])
95 | public static let all = ESEventSet(events: (0..<ES_EVENT_TYPE_LAST.rawValue).map(es_event_type_t.init(rawValue:)))
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:38:23: warning: static property 'allow' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | public struct ESAuthResolution: Equatable, Codable {
| `- note: consider making struct 'ESAuthResolution' conform to the 'Sendable' protocol
28 | public var result: ESAuthResult
29 | public var cache: Bool
:
36 |
37 | extension ESAuthResolution {
38 | public static let allow = ESAuthResolution(result: .auth(true), cache: true)
| |- warning: static property 'allow' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allow' with '@MainActor' 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 allowOnce = ESAuthResolution(result: .auth(true), cache: false)
40 | public static let deny = ESAuthResolution(result: .auth(false), cache: true)
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:39:23: warning: static property 'allowOnce' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | public struct ESAuthResolution: Equatable, Codable {
| `- note: consider making struct 'ESAuthResolution' conform to the 'Sendable' protocol
28 | public var result: ESAuthResult
29 | public var cache: Bool
:
37 | extension ESAuthResolution {
38 | public static let allow = ESAuthResolution(result: .auth(true), cache: true)
39 | public static let allowOnce = ESAuthResolution(result: .auth(true), cache: false)
| |- warning: static property 'allowOnce' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowOnce' with '@MainActor' 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 deny = ESAuthResolution(result: .auth(false), cache: true)
41 | public static let denyOnce = ESAuthResolution(result: .auth(false), cache: false)
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:40:23: warning: static property 'deny' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | public struct ESAuthResolution: Equatable, Codable {
| `- note: consider making struct 'ESAuthResolution' conform to the 'Sendable' protocol
28 | public var result: ESAuthResult
29 | public var cache: Bool
:
38 | public static let allow = ESAuthResolution(result: .auth(true), cache: true)
39 | public static let allowOnce = ESAuthResolution(result: .auth(true), cache: false)
40 | public static let deny = ESAuthResolution(result: .auth(false), cache: true)
| |- warning: static property 'deny' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deny' with '@MainActor' 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 denyOnce = ESAuthResolution(result: .auth(false), cache: false)
42 | }
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:41:23: warning: static property 'denyOnce' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | public struct ESAuthResolution: Equatable, Codable {
| `- note: consider making struct 'ESAuthResolution' conform to the 'Sendable' protocol
28 | public var result: ESAuthResult
29 | public var cache: Bool
:
39 | public static let allowOnce = ESAuthResolution(result: .auth(true), cache: false)
40 | public static let deny = ESAuthResolution(result: .auth(false), cache: true)
41 | public static let denyOnce = ESAuthResolution(result: .auth(false), cache: false)
| |- warning: static property 'denyOnce' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'denyOnce' with '@MainActor' 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 | }
43 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:46:16: warning: stored property 'result' of 'Sendable'-conforming generic struct 'ESError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public struct ESError<T: RawRepresentable>: Error, Codable where T: Codable {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
45 | public var action: String
46 | public var result: T
| `- warning: stored property 'result' of 'Sendable'-conforming generic struct 'ESError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
47 | public var client: String
48 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:94:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public struct ESEventSet: Equatable, Codable {
| `- note: consider making struct 'ESEventSet' conform to the 'Sendable' protocol
78 | public var events: Set<es_event_type_t>
79 | }
:
92 |
93 | extension ESEventSet {
94 | public static let empty = ESEventSet(events: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let all = ESEventSet(events: (0..<ES_EVENT_TYPE_LAST.rawValue).map(es_event_type_t.init(rawValue:)))
96 | }
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESMutePath.swift:27:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | private let log = SpellbookLogger.internalLog(.client)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | internal final class ESMutePath {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESMutePath.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
23 | import EndpointSecurity
24 | import Foundation
25 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
26 |
27 | private let log = SpellbookLogger.internalLog(.client)
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | internal final class ESMutePath {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESMuteProcess.swift:27:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | private let log = SpellbookLogger.internalLog(.client)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | internal final class ESMuteProcess {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESMuteProcess.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
23 | import EndpointSecurity
24 | import Foundation
25 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
26 |
27 | private let log = SpellbookLogger.internalLog(.client)
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | internal final class ESMuteProcess {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:51:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension ESConverter {
38 | public struct Config: Equatable, Codable {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
39 | public var execArgs: Bool
40 | public var execEnv: Bool
:
49 | extension ESConverter.Config {
50 | public static let `default` = Self(execArgs: false, execEnv: false)
51 | public static let full = Self(execArgs: true, execEnv: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESService/ESService.swift:27:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | private let log = SpellbookLogger.internalLog(.service)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// ESService provides muliclient support for dealing with EndpointSecurity events
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESService/ESService.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
23 | import EndpointSecurity
24 | import Foundation
25 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
26 |
27 | private let log = SpellbookLogger.internalLog(.service)
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// ESService provides muliclient support for dealing with EndpointSecurity events
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESService/ESServiceSubscriptionStore.swift:27:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | private let log = SpellbookLogger.internalLog(.service)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | internal final class ESServiceSubscriptionStore {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESService/ESServiceSubscriptionStore.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
23 | import EndpointSecurity
24 | import Foundation
25 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
26 |
27 | private let log = SpellbookLogger.internalLog(.service)
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | internal final class ESServiceSubscriptionStore {
[98/122] Compiling SpellbookXPC XPCTransportMessage.swift
[99/122] Compiling SpellbookXPC XPCListener.swift
[100/122] Compiling SpellbookXPC XPCInterface.swift
[101/122] Compiling SpellbookHDIUtil HDIUtilParser.swift
/Users/admin/builder/spi-builder-workspace/HDIUtil/Sources/SpellbookHDIUtil/HDIUtilParser.swift:26:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import SpellbookFoundation
25 |
26 | private let log = SpellbookLogger.default.with(subsystem: "HDIUtil", category: "Parser")
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | public struct HDIUtilParser {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/HDIUtil/Sources/SpellbookHDIUtil/HDIUtilParser.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
22 |
23 | import Foundation
24 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
25 |
26 | private let log = SpellbookLogger.default.with(subsystem: "HDIUtil", category: "Parser")
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public struct HDIUtilParser {
/Users/admin/builder/spi-builder-workspace/HDIUtil/Sources/SpellbookHDIUtil/HDIUtilParser.swift:26:35: warning: reference to class property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 | import SpellbookFoundation
25 |
26 | private let log = SpellbookLogger.default.with(subsystem: "HDIUtil", category: "Parser")
| `- warning: reference to class property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | public struct HDIUtilParser {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:219:23: note: class property declared here
217 | }
218 |
219 | public static var `default` = SpellbookLogger(name: "default")
| `- note: class property declared here
220 |
221 | public var source = SpellbookLogSource.default()
[102/122] Compiling SpellbookXPC XPCConnection.swift
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPCConnection/XPCConnection.swift:186:13: warning: let '_currentConnectionStorage' is not concurrency-safe because non-'Sendable' type 'Synchronized<[ObjectIdentifier : Weak<AnyObject>]>' may have shared mutable state; this is an error in the Swift 6 language mode
184 | }
185 |
186 | private let _currentConnectionStorage = Synchronized<[ObjectIdentifier: Weak<AnyObject>]>(.serial)
| `- warning: let '_currentConnectionStorage' is not concurrency-safe because non-'Sendable' type 'Synchronized<[ObjectIdentifier : Weak<AnyObject>]>' may have shared mutable state; this is an error in the Swift 6 language mode
187 |
188 | extension XPCConnection {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:27:20: note: generic class 'Synchronized' does not conform to the 'Sendable' protocol
25 |
26 | /// Wrapper around DispatchQueue for convenient and safe multithreaded access to the value.
27 | public final class Synchronized<Value> {
| `- note: generic class 'Synchronized' does not conform to the 'Sendable' protocol
28 | public enum Primitive {
29 | case unfair
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPCConnection/XPCConnection.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
24 |
25 | import Foundation
26 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
27 |
28 | /// Bidirectional XPC Connection
:
184 | }
185 |
186 | private let _currentConnectionStorage = Synchronized<[ObjectIdentifier: Weak<AnyObject>]>(.serial)
| |- note: annotate '_currentConnectionStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | extension XPCConnection {
[103/122] Compiling SpellbookXPC XPCTransportListener.swift
[104/122] Compiling SpellbookXPC XPCTransportUtils.swift
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportUtils.swift:51:36: warning: capture of 'reply' with non-sendable type '(Result<T, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | return value
50 | }
51 | finalQueue.async { reply(decodedResult) }
| |- warning: capture of 'reply' with non-sendable type '(Result<T, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportUtils.swift:51:36: warning: capture of 'reply' with non-sendable type '(Result<T, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | return value
50 | }
51 | finalQueue.async { reply(decodedResult) }
| |- warning: capture of 'reply' with non-sendable type '(Result<T, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportUtils.swift:51:42: warning: capture of 'decodedResult' with non-sendable type 'Result<T, any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
41 |
42 | extension XPCReply {
43 | static func decode<T: Decodable>(_ type: T.Type, reply: @escaping (Result<T, Error>) -> Void) -> XPCReply {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
44 | self.init { processingQueue, finalQueue, rawResult in
45 | processingQueue.async {
:
49 | return value
50 | }
51 | finalQueue.async { reply(decodedResult) }
| `- warning: capture of 'decodedResult' with non-sendable type 'Result<T, any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
[105/122] Compiling SpellbookXPC Utils.swift
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPCConnection/Utils.swift:56:24: warning: static property 'defaultClasses' is not concurrency-safe because non-'Sendable' type 'Set<NSObject>' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | extension NSXPCInterface {
56 | private static let defaultClasses = NSSet(array: [
| `- warning: static property 'defaultClasses' is not concurrency-safe because non-'Sendable' type 'Set<NSObject>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | NSArray.self,
58 | NSString.self,
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPCConnection/Utils.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
23 | */
24 |
25 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
26 |
27 | extension NSCoder {
:
54 |
55 | extension NSXPCInterface {
56 | private static let defaultClasses = NSSet(array: [
| |- note: annotate 'defaultClasses' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | NSArray.self,
58 | NSString.self,
[106/122] Compiling SpellbookXPC XPCClient.swift
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPCConnection/XPCClient.swift:96:13: warning: capture of 'self' with non-sendable type 'XPCClient<RemoteInterface, ExportedInterface, ConnectedState>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 |
28 | /// XPCClient is a wrapper around XPCConnection that provide KeepAlive ability for the connection.
29 | public class XPCClient<RemoteInterface, ExportedInterface, ConnectedState> {
| `- note: generic class 'XPCClient' does not conform to the 'Sendable' protocol
30 | private typealias Connection = XPCConnection<RemoteInterface, ExportedInterface>
31 |
:
94 | public func invalidate() {
95 | queue.async { [self] in
96 | requestEndpointHandler = nil
| `- warning: capture of 'self' with non-sendable type 'XPCClient<RemoteInterface, ExportedInterface, ConnectedState>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | connection.invalidate()
98 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPCConnection/XPCClient.swift:157:17: warning: capture of 'self' with non-sendable type 'XPCClient<RemoteInterface, ExportedInterface, ConnectedState>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 |
28 | /// XPCClient is a wrapper around XPCConnection that provide KeepAlive ability for the connection.
29 | public class XPCClient<RemoteInterface, ExportedInterface, ConnectedState> {
| `- note: generic class 'XPCClient' does not conform to the 'Sendable' protocol
30 | private typealias Connection = XPCConnection<RemoteInterface, ExportedInterface>
31 |
:
155 | queue.async { [self] in
156 | if dropState {
157 | connectedStateStore.update(nil)
| `- warning: capture of 'self' with non-sendable type 'XPCClient<RemoteInterface, ExportedInterface, ConnectedState>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
158 | }
159 |
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPCConnection/XPCClient.swift:163:17: warning: capture of 'requestEndpointHandler' with non-sendable type '(@escaping (XPCConnectionInit?) -> Void) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |
162 | queue.asyncAfter(deadline: .now() + (immediately ? 0 : reconnectDelay)) {
163 | requestEndpointHandler { [weak self] endpoint in
| |- warning: capture of 'requestEndpointHandler' with non-sendable type '(@escaping (XPCConnectionInit?) -> Void) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
164 | guard let self = self else { return }
165 | if let endpoint {
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPCConnection/XPCClient.swift:163:48: warning: capture of 'self' with non-sendable type 'XPCClient<RemoteInterface, ExportedInterface, ConnectedState>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 |
28 | /// XPCClient is a wrapper around XPCConnection that provide KeepAlive ability for the connection.
29 | public class XPCClient<RemoteInterface, ExportedInterface, ConnectedState> {
| `- note: generic class 'XPCClient' does not conform to the 'Sendable' protocol
30 | private typealias Connection = XPCConnection<RemoteInterface, ExportedInterface>
31 |
:
161 |
162 | queue.asyncAfter(deadline: .now() + (immediately ? 0 : reconnectDelay)) {
163 | requestEndpointHandler { [weak self] endpoint in
| `- warning: capture of 'self' with non-sendable type 'XPCClient<RemoteInterface, ExportedInterface, ConnectedState>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
164 | guard let self = self else { return }
165 | if let endpoint {
[107/122] Emitting module SpellbookHDIUtil
/Users/admin/builder/spi-builder-workspace/HDIUtil/Sources/SpellbookHDIUtil/HDIUtilParser.swift:26:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import SpellbookFoundation
25 |
26 | private let log = SpellbookLogger.default.with(subsystem: "HDIUtil", category: "Parser")
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | public struct HDIUtilParser {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/HDIUtil/Sources/SpellbookHDIUtil/HDIUtilParser.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
22 |
23 | import Foundation
24 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
25 |
26 | private let log = SpellbookLogger.default.with(subsystem: "HDIUtil", category: "Parser")
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public struct HDIUtilParser {
/Users/admin/builder/spi-builder-workspace/HDIUtil/Sources/SpellbookHDIUtil/HDIUtilParser.swift:26:35: warning: reference to class property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 | import SpellbookFoundation
25 |
26 | private let log = SpellbookLogger.default.with(subsystem: "HDIUtil", category: "Parser")
| `- warning: reference to class property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | public struct HDIUtilParser {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:219:23: note: class property declared here
217 | }
218 |
219 | public static var `default` = SpellbookLogger(name: "default")
| `- note: class property declared here
220 |
221 | public var source = SpellbookLogSource.default()
[108/122] Compiling SpellbookHDIUtil HDIUtil.swift
[109/122] Compiling SpellbookXPC XPCTransportConnection.swift
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:101:27: warning: capture of 'handler' with non-sendable type '(Message) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | receiveDataHandler = { [queue] in
100 | let value = try decoder.decode(Message.self, from: $0)
101 | queue.async { handler(value) }
| |- warning: capture of 'handler' with non-sendable type '(Message) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:101:35: warning: capture of 'value' with non-sendable type 'Message' in a `@Sendable` closure; this is an error in the Swift 6 language mode
93 | public var stateHandler: ((XPCTransportConnectionState) -> Void)?
94 |
95 | public func setReceiveMessageHandler<Message: Decodable>(_ type: Message.Type = Message.self, handler: @escaping (Message) -> Void) {
| `- note: consider making generic parameter 'Message' conform to the 'Sendable' protocol
96 | let decoder = JSONDecoder()
97 | decoder.userInfo[.replySender] = { [weak self] in self?.sendReply(id: $0, response: $1) } as XPCTransportMessageReplySender
:
99 | receiveDataHandler = { [queue] in
100 | let value = try decoder.decode(Message.self, from: $0)
101 | queue.async { handler(value) }
| `- warning: capture of 'value' with non-sendable type 'Message' in a `@Sendable` closure; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:141:13: warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 |
59 | public class XPCTransportConnection {
| `- note: class 'XPCTransportConnection' does not conform to the 'Sendable' protocol
60 | private let connectionQueue = DispatchQueue(label: "XPCTransportConnection.connection.queue")
61 | private var messageQueue = DispatchQueue(label: "XPCTransportConnection.message.queue")
:
139 | public func invalidate() {
140 | queue.async {
141 | self.xpc = nil
| `- warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | self.connection.invalidate()
143 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:172:26: warning: capture of 'response' with non-sendable type 'Result<XPCPayload, any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 | private func sendReply(id: UUID, response: Result<XPCPayload, Error>) {
171 | messageQueue.async {
172 | let result = response.flatMap { value in Result { try value.data() } }
| `- warning: capture of 'response' with non-sendable type 'Result<XPCPayload, any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 | self.connectionQueue.async {
174 | self.connection
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportUtils.swift:27:8: note: consider making struct 'XPCPayload' conform to the 'Sendable' protocol
25 | import Foundation
26 |
27 | struct XPCPayload {
| `- note: consider making struct 'XPCPayload' conform to the 'Sendable' protocol
28 | let data: () throws -> Data
29 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:173:13: warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 |
59 | public class XPCTransportConnection {
| `- note: class 'XPCTransportConnection' does not conform to the 'Sendable' protocol
60 | private let connectionQueue = DispatchQueue(label: "XPCTransportConnection.connection.queue")
61 | private var messageQueue = DispatchQueue(label: "XPCTransportConnection.message.queue")
:
171 | messageQueue.async {
172 | let result = response.flatMap { value in Result { try value.data() } }
173 | self.connectionQueue.async {
| `- warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
174 | self.connection
175 | .remoteObjectProxy()
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:174:17: warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 |
59 | public class XPCTransportConnection {
| `- note: class 'XPCTransportConnection' does not conform to the 'Sendable' protocol
60 | private let connectionQueue = DispatchQueue(label: "XPCTransportConnection.connection.queue")
61 | private var messageQueue = DispatchQueue(label: "XPCTransportConnection.message.queue")
:
172 | let result = response.flatMap { value in Result { try value.data() } }
173 | self.connectionQueue.async {
174 | self.connection
| `- warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 | .remoteObjectProxy()
176 | .sendReply(id: id, data: result.success, error: result.failure)
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:185:44: warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 |
59 | public class XPCTransportConnection {
| `- note: class 'XPCTransportConnection' does not conform to the 'Sendable' protocol
60 | private let connectionQueue = DispatchQueue(label: "XPCTransportConnection.connection.queue")
61 | private var messageQueue = DispatchQueue(label: "XPCTransportConnection.message.queue")
:
183 |
184 | messageQueue.async {
185 | guard let receiveDataHandler = self.receiveDataHandler else {
| `- warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 | confirmation(nil, CommonError.fatal("Receiving is not implemented"))
187 | return
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:186:17: warning: capture of 'confirmation' with non-sendable type '(Data?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
184 | messageQueue.async {
185 | guard let receiveDataHandler = self.receiveDataHandler else {
186 | confirmation(nil, CommonError.fatal("Receiving is not implemented"))
| |- warning: capture of 'confirmation' with non-sendable type '(Data?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
187 | return
188 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:205:43: warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 |
59 | public class XPCTransportConnection {
| `- note: class 'XPCTransportConnection' does not conform to the 'Sendable' protocol
60 | private let connectionQueue = DispatchQueue(label: "XPCTransportConnection.connection.queue")
61 | private var messageQueue = DispatchQueue(label: "XPCTransportConnection.message.queue")
:
203 | private func fulfillPendingReply(to ids: [UUID], with response: Result<Data, Error>) {
204 | connectionQueue.async {
205 | let replys = ids.compactMap { self.pendingReplies.removeValue(forKey: $0) }
| `- warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 | replys.forEach { $0.reply(self.messageQueue, self.queue, response) }
207 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:205:43: warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in an isolated closure; this is an error in the Swift 6 language mode
57 | }
58 |
59 | public class XPCTransportConnection {
| `- note: class 'XPCTransportConnection' does not conform to the 'Sendable' protocol
60 | private let connectionQueue = DispatchQueue(label: "XPCTransportConnection.connection.queue")
61 | private var messageQueue = DispatchQueue(label: "XPCTransportConnection.message.queue")
:
203 | private func fulfillPendingReply(to ids: [UUID], with response: Result<Data, Error>) {
204 | connectionQueue.async {
205 | let replys = ids.compactMap { self.pendingReplies.removeValue(forKey: $0) }
| `- warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in an isolated closure; this is an error in the Swift 6 language mode
206 | replys.forEach { $0.reply(self.messageQueue, self.queue, response) }
207 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:206:39: warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in an isolated closure; this is an error in the Swift 6 language mode
57 | }
58 |
59 | public class XPCTransportConnection {
| `- note: class 'XPCTransportConnection' does not conform to the 'Sendable' protocol
60 | private let connectionQueue = DispatchQueue(label: "XPCTransportConnection.connection.queue")
61 | private var messageQueue = DispatchQueue(label: "XPCTransportConnection.message.queue")
:
204 | connectionQueue.async {
205 | let replys = ids.compactMap { self.pendingReplies.removeValue(forKey: $0) }
206 | replys.forEach { $0.reply(self.messageQueue, self.queue, response) }
| `- warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in an isolated closure; this is an error in the Swift 6 language mode
207 | }
208 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:215:21: warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 |
59 | public class XPCTransportConnection {
| `- note: class 'XPCTransportConnection' does not conform to the 'Sendable' protocol
60 | private let connectionQueue = DispatchQueue(label: "XPCTransportConnection.connection.queue")
61 | private var messageQueue = DispatchQueue(label: "XPCTransportConnection.message.queue")
:
213 | self.connectionQueue.async {
214 | if response == serverHello {
215 | self.updateState(.connected)
| `- warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 | } else if error != nil {
217 | self.connection.invalidate()
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:259:13: warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 |
59 | public class XPCTransportConnection {
| `- note: class 'XPCTransportConnection' does not conform to the 'Sendable' protocol
60 | private let connectionQueue = DispatchQueue(label: "XPCTransportConnection.connection.queue")
61 | private var messageQueue = DispatchQueue(label: "XPCTransportConnection.message.queue")
:
257 | self.state = state
258 | queue.async {
259 | self.stateHandler?(state)
| `- warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | }
261 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:259:32: warning: capture of 'state' with non-sendable type 'XPCTransportConnectionState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public enum XPCTransportConnectionState: String, Hashable, CaseIterable {
| `- note: consider making enum 'XPCTransportConnectionState' conform to the 'Sendable' protocol
45 | /// Connection is performing initial handshake (initial connect or reconnect).
46 | /// Usually a good point to prepare/reset related program state
:
257 | self.state = state
258 | queue.async {
259 | self.stateHandler?(state)
| `- warning: capture of 'state' with non-sendable type 'XPCTransportConnectionState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | }
261 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:265:29: warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 |
59 | public class XPCTransportConnection {
| `- note: class 'XPCTransportConnection' does not conform to the 'Sendable' protocol
60 | private let connectionQueue = DispatchQueue(label: "XPCTransportConnection.connection.queue")
61 | private var messageQueue = DispatchQueue(label: "XPCTransportConnection.message.queue")
:
263 | private func reconnect() {
264 | connectionQueue.async {
265 | guard let xpc = self.xpc, let reconnectDelay = self.reconnectDelay else {
| `- warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
266 | self.updateState(.invalidated)
267 | return
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:270:17: warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 |
59 | public class XPCTransportConnection {
| `- note: class 'XPCTransportConnection' does not conform to the 'Sendable' protocol
60 | private let connectionQueue = DispatchQueue(label: "XPCTransportConnection.connection.queue")
61 | private var messageQueue = DispatchQueue(label: "XPCTransportConnection.message.queue")
:
268 | }
269 | self.connectionQueue.asyncAfter(deadline: .now() + reconnectDelay) {
270 | self.connection = XPCConnection(xpc, remoteInterface: .transport, exportedInterface: .transport)
| `- warning: capture of 'self' with non-sendable type 'XPCTransportConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
271 | self.prepareAndResume(connection: self.connection)
272 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPC Transport/XPCTransportConnection.swift:270:49: warning: capture of 'xpc' with non-sendable type 'XPCConnectionInit' in a `@Sendable` closure; this is an error in the Swift 6 language mode
268 | }
269 | self.connectionQueue.asyncAfter(deadline: .now() + reconnectDelay) {
270 | self.connection = XPCConnection(xpc, remoteInterface: .transport, exportedInterface: .transport)
| `- warning: capture of 'xpc' with non-sendable type 'XPCConnectionInit' in a `@Sendable` closure; this is an error in the Swift 6 language mode
271 | self.prepareAndResume(connection: self.connection)
272 | }
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPCConnection/XPCConnection.swift:215:13: note: consider making enum 'XPCConnectionInit' conform to the 'Sendable' protocol
213 | // MARK: - XPCConnection Auxiliary
214 |
215 | public enum XPCConnectionInit {
| `- note: consider making enum 'XPCConnectionInit' conform to the 'Sendable' protocol
216 | case service(_ name: String)
217 | case machService(_ name: String, options: NSXPCConnection.Options)
[110/122] Emitting module SpellbookXPC
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPCConnection/Utils.swift:56:24: warning: static property 'defaultClasses' is not concurrency-safe because non-'Sendable' type 'Set<NSObject>' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | extension NSXPCInterface {
56 | private static let defaultClasses = NSSet(array: [
| `- warning: static property 'defaultClasses' is not concurrency-safe because non-'Sendable' type 'Set<NSObject>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | NSArray.self,
58 | NSString.self,
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPCConnection/Utils.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
23 | */
24 |
25 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
26 |
27 | extension NSCoder {
:
54 |
55 | extension NSXPCInterface {
56 | private static let defaultClasses = NSSet(array: [
| |- note: annotate 'defaultClasses' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | NSArray.self,
58 | NSString.self,
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPCConnection/XPCConnection.swift:186:13: warning: let '_currentConnectionStorage' is not concurrency-safe because non-'Sendable' type 'Synchronized<[ObjectIdentifier : Weak<AnyObject>]>' may have shared mutable state; this is an error in the Swift 6 language mode
184 | }
185 |
186 | private let _currentConnectionStorage = Synchronized<[ObjectIdentifier: Weak<AnyObject>]>(.serial)
| `- warning: let '_currentConnectionStorage' is not concurrency-safe because non-'Sendable' type 'Synchronized<[ObjectIdentifier : Weak<AnyObject>]>' may have shared mutable state; this is an error in the Swift 6 language mode
187 |
188 | extension XPCConnection {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:27:20: note: generic class 'Synchronized' does not conform to the 'Sendable' protocol
25 |
26 | /// Wrapper around DispatchQueue for convenient and safe multithreaded access to the value.
27 | public final class Synchronized<Value> {
| `- note: generic class 'Synchronized' does not conform to the 'Sendable' protocol
28 | public enum Primitive {
29 | case unfair
/Users/admin/builder/spi-builder-workspace/XPC/Sources/SpellbookXPC/XPCConnection/XPCConnection.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
24 |
25 | import Foundation
26 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
27 |
28 | /// Bidirectional XPC Connection
:
184 | }
185 |
186 | private let _currentConnectionStorage = Synchronized<[ObjectIdentifier: Weak<AnyObject>]>(.serial)
| |- note: annotate '_currentConnectionStorage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | extension XPCConnection {
[111/122] Compiling SpellbookLaunchctl Error.swift
[112/122] Compiling SpellbookLaunchctl Launchctl.swift
[113/122] Compiling SpellbookLaunchctl Utils.swift
/Users/admin/builder/spi-builder-workspace/Launchctl/Sources/SpellbookLaunchctl/Internals/Utils.swift:33:14: warning: var 'runLaunchctlFn' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
33 | internal var runLaunchctlFn = { (_ args: [String]) throws -> String in
| |- warning: var 'runLaunchctlFn' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'runLaunchctlFn' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'runLaunchctlFn' with '@MainActor' 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 | let (exitCode, stdout, stderr) = Process.launch(
35 | tool: URL(fileURLWithPath: "/bin/launchctl"),
[114/122] Emitting module SpellbookLaunchctl
/Users/admin/builder/spi-builder-workspace/Launchctl/Sources/SpellbookLaunchctl/Internals/Utils.swift:33:14: warning: var 'runLaunchctlFn' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
33 | internal var runLaunchctlFn = { (_ args: [String]) throws -> String in
| |- warning: var 'runLaunchctlFn' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'runLaunchctlFn' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'runLaunchctlFn' with '@MainActor' 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 | let (exitCode, stdout, stderr) = Process.launch(
35 | tool: URL(fileURLWithPath: "/bin/launchctl"),
[115/122] Compiling SpellbookLaunchctl OutputParser.swift
[116/122] Compiling SpellbookLaunchctl Service.swift
[117/122] Compiling SpellbookEndpointSecurity ESMuteProcess.swift
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESMuteProcess.swift:27:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | private let log = SpellbookLogger.internalLog(.client)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | internal final class ESMuteProcess {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESMuteProcess.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
23 | import EndpointSecurity
24 | import Foundation
25 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
26 |
27 | private let log = SpellbookLogger.internalLog(.client)
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | internal final class ESMuteProcess {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:95:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public struct ESEventSet: Equatable, Codable {
| `- note: consider making struct 'ESEventSet' conform to the 'Sendable' protocol
78 | public var events: Set<es_event_type_t>
79 | }
:
93 | extension ESEventSet {
94 | public static let empty = ESEventSet(events: [])
95 | public static let all = ESEventSet(events: (0..<ES_EVENT_TYPE_LAST.rawValue).map(es_event_type_t.init(rawValue:)))
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:50:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension ESConverter {
38 | public struct Config: Equatable, Codable {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
39 | public var execArgs: Bool
40 | public var execEnv: Bool
:
48 |
49 | extension ESConverter.Config {
50 | public static let `default` = Self(execArgs: false, execEnv: false)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' 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 | public static let full = Self(execArgs: true, execEnv: true)
52 | }
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:51:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension ESConverter {
38 | public struct Config: Equatable, Codable {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
39 | public var execArgs: Bool
40 | public var execEnv: Bool
:
49 | extension ESConverter.Config {
50 | public static let `default` = Self(execArgs: false, execEnv: false)
51 | public static let full = Self(execArgs: true, execEnv: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | }
53 |
[118/122] Compiling SpellbookEndpointSecurity ESConverter.swift
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESMuteProcess.swift:27:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | private let log = SpellbookLogger.internalLog(.client)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | internal final class ESMuteProcess {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESMuteProcess.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
23 | import EndpointSecurity
24 | import Foundation
25 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
26 |
27 | private let log = SpellbookLogger.internalLog(.client)
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | internal final class ESMuteProcess {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:95:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public struct ESEventSet: Equatable, Codable {
| `- note: consider making struct 'ESEventSet' conform to the 'Sendable' protocol
78 | public var events: Set<es_event_type_t>
79 | }
:
93 | extension ESEventSet {
94 | public static let empty = ESEventSet(events: [])
95 | public static let all = ESEventSet(events: (0..<ES_EVENT_TYPE_LAST.rawValue).map(es_event_type_t.init(rawValue:)))
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:50:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension ESConverter {
38 | public struct Config: Equatable, Codable {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
39 | public var execArgs: Bool
40 | public var execEnv: Bool
:
48 |
49 | extension ESConverter.Config {
50 | public static let `default` = Self(execArgs: false, execEnv: false)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' 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 | public static let full = Self(execArgs: true, execEnv: true)
52 | }
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:51:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension ESConverter {
38 | public struct Config: Equatable, Codable {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
39 | public var execArgs: Bool
40 | public var execEnv: Bool
:
49 | extension ESConverter.Config {
50 | public static let `default` = Self(execArgs: false, execEnv: false)
51 | public static let full = Self(execArgs: true, execEnv: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | }
53 |
[119/122] Compiling SpellbookEndpointSecurity ESMessagePtr.swift
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:50:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension ESConverter {
38 | public struct Config: Equatable, Codable {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
39 | public var execArgs: Bool
40 | public var execEnv: Bool
:
48 |
49 | extension ESConverter.Config {
50 | public static let `default` = Self(execArgs: false, execEnv: false)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' 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 | public static let full = Self(execArgs: true, execEnv: true)
52 | }
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESMutePath.swift:27:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | private let log = SpellbookLogger.internalLog(.client)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | internal final class ESMutePath {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESMutePath.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
23 | import EndpointSecurity
24 | import Foundation
25 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
26 |
27 | private let log = SpellbookLogger.internalLog(.client)
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | internal final class ESMutePath {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:95:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public struct ESEventSet: Equatable, Codable {
| `- note: consider making struct 'ESEventSet' conform to the 'Sendable' protocol
78 | public var events: Set<es_event_type_t>
79 | }
:
93 | extension ESEventSet {
94 | public static let empty = ESEventSet(events: [])
95 | public static let all = ESEventSet(events: (0..<ES_EVENT_TYPE_LAST.rawValue).map(es_event_type_t.init(rawValue:)))
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
[120/122] Compiling SpellbookEndpointSecurity ESMutePath.swift
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:50:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension ESConverter {
38 | public struct Config: Equatable, Codable {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
39 | public var execArgs: Bool
40 | public var execEnv: Bool
:
48 |
49 | extension ESConverter.Config {
50 | public static let `default` = Self(execArgs: false, execEnv: false)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' 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 | public static let full = Self(execArgs: true, execEnv: true)
52 | }
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESMutePath.swift:27:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | private let log = SpellbookLogger.internalLog(.client)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | internal final class ESMutePath {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESMutePath.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
23 | import EndpointSecurity
24 | import Foundation
25 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
26 |
27 | private let log = SpellbookLogger.internalLog(.client)
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | internal final class ESMutePath {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:95:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public struct ESEventSet: Equatable, Codable {
| `- note: consider making struct 'ESEventSet' conform to the 'Sendable' protocol
78 | public var events: Set<es_event_type_t>
79 | }
:
93 | extension ESEventSet {
94 | public static let empty = ESEventSet(events: [])
95 | public static let all = ESEventSet(events: (0..<ES_EVENT_TYPE_LAST.rawValue).map(es_event_type_t.init(rawValue:)))
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
[121/122] Compiling SpellbookEndpointSecurity ESTypes.swift
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESService/ESService.swift:27:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | private let log = SpellbookLogger.internalLog(.service)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// ESService provides muliclient support for dealing with EndpointSecurity events
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESService/ESService.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
23 | import EndpointSecurity
24 | import Foundation
25 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
26 |
27 | private let log = SpellbookLogger.internalLog(.service)
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// ESService provides muliclient support for dealing with EndpointSecurity events
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:95:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public struct ESEventSet: Equatable, Codable {
| `- note: consider making struct 'ESEventSet' conform to the 'Sendable' protocol
78 | public var events: Set<es_event_type_t>
79 | }
:
93 | extension ESEventSet {
94 | public static let empty = ESEventSet(events: [])
95 | public static let all = ESEventSet(events: (0..<ES_EVENT_TYPE_LAST.rawValue).map(es_event_type_t.init(rawValue:)))
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:50:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension ESConverter {
38 | public struct Config: Equatable, Codable {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
39 | public var execArgs: Bool
40 | public var execEnv: Bool
:
48 |
49 | extension ESConverter.Config {
50 | public static let `default` = Self(execArgs: false, execEnv: false)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' 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 | public static let full = Self(execArgs: true, execEnv: true)
52 | }
[122/122] Compiling SpellbookEndpointSecurity ESService.swift
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESService/ESService.swift:27:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import SpellbookFoundation
26 |
27 | private let log = SpellbookLogger.internalLog(.service)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// ESService provides muliclient support for dealing with EndpointSecurity events
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESService/ESService.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
23 | import EndpointSecurity
24 | import Foundation
25 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
26 |
27 | private let log = SpellbookLogger.internalLog(.service)
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// ESService provides muliclient support for dealing with EndpointSecurity events
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:95:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public struct ESEventSet: Equatable, Codable {
| `- note: consider making struct 'ESEventSet' conform to the 'Sendable' protocol
78 | public var events: Set<es_event_type_t>
79 | }
:
93 | extension ESEventSet {
94 | public static let empty = ESEventSet(events: [])
95 | public static let all = ESEventSet(events: (0..<ES_EVENT_TYPE_LAST.rawValue).map(es_event_type_t.init(rawValue:)))
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ESEventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESMessage/ESConverter.swift:50:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension ESConverter {
38 | public struct Config: Equatable, Codable {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
39 | public var execArgs: Bool
40 | public var execEnv: Bool
:
48 |
49 | extension ESConverter.Config {
50 | public static let `default` = Self(execArgs: false, execEnv: false)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ESConverter.Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' 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 | public static let full = Self(execArgs: true, execEnv: true)
52 | }
[123/127] Compiling SpellbookEndpointSecurityXPC ESXPCInternals.swift
[124/127] Compiling SpellbookEndpointSecurityXPC ESXPCListener.swift
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCListener.swift:30:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
28 | import SpellbookFoundation
29 |
30 | private let log = SpellbookLogger.internalLog(.xpc)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | public final class ESXPCListener: NSObject {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCListener.swift:28:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
26 | import EndpointSecurity
27 | import Foundation
28 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
29 |
30 | private let log = SpellbookLogger.internalLog(.xpc)
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public final class ESXPCListener: NSObject {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCListener.swift:222:38: warning: capture of 'self' with non-sendable type 'ESXPCExportedObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
104 | }
105 |
106 | private final class ESXPCExportedObject: NSObject, ESClientXPCProtocol {
| `- note: class 'ESXPCExportedObject' does not conform to the 'Sendable' protocol
107 | private let actionQueue: DispatchQueue
108 | let id: UUID
:
220 | do {
221 | if #available(macOS 13.0, *) {
222 | let client = try client.get(name: "ESClient")
| `- warning: capture of 'self' with non-sendable type 'ESXPCExportedObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 | let result = try client.mutingInverted(muteType)
224 | reply(result, nil)
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCListener.swift:224:21: warning: capture of 'reply' with non-sendable type '(Bool, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | let client = try client.get(name: "ESClient")
223 | let result = try client.mutingInverted(muteType)
224 | reply(result, nil)
| |- warning: capture of 'reply' with non-sendable type '(Bool, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 | } else {
226 | throw CommonError.unexpected("mutingInverted not available")
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCListener.swift:254:48: warning: capture of 'self' with non-sendable type 'ESXPCExportedObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
104 | }
105 |
106 | private final class ESXPCExportedObject: NSObject, ESClientXPCProtocol {
| `- note: class 'ESXPCExportedObject' does not conform to the 'Sendable' protocol
107 | private let actionQueue: DispatchQueue
108 | let id: UUID
:
252 | let executor = SynchronousExecutor("HandlePathInterest", timeout: 5.0)
253 | guard let interest = try executor.sync({ reply in
254 | DispatchQueue.global().async { self.delegate.handlePathInterest(encoded, reply: reply) }
| `- warning: capture of 'self' with non-sendable type 'ESXPCExportedObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
255 | }) else {
256 | return .listen()
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCListener.swift:254:97: warning: capture of 'reply' with non-sendable type '(Data?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
252 | let executor = SynchronousExecutor("HandlePathInterest", timeout: 5.0)
253 | guard let interest = try executor.sync({ reply in
254 | DispatchQueue.global().async { self.delegate.handlePathInterest(encoded, reply: reply) }
| |- warning: capture of 'reply' with non-sendable type '(Data?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
255 | }) else {
256 | return .listen()
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCListener.swift:300:68: warning: passing non-sendable parameter 'errorHandler' to function expecting a @Sendable closure
289 | private func processMessage(
290 | _ message: ESMessagePtr,
291 | errorHandler: @escaping (Error) -> Void,
| `- note: parameter 'errorHandler' is implicitly non-sendable
292 | actionHandler: @escaping (ESClientXPCDelegateProtocol, Data) -> Void
293 | ) {
:
298 | }
299 |
300 | let proxy = remoteObject.remoteObjectProxyWithErrorHandler(errorHandler)
| `- warning: passing non-sendable parameter 'errorHandler' to function expecting a @Sendable closure
301 |
302 | guard let delegateProxy = proxy as? ESClientXPCDelegateProtocol else {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCListener.swift:320:34: warning: capture of 'self' with non-sendable type 'ESXPCExportedObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
104 | }
105 |
106 | private final class ESXPCExportedObject: NSObject, ESClientXPCProtocol {
| `- note: class 'ESXPCExportedObject' does not conform to the 'Sendable' protocol
107 | private let actionQueue: DispatchQueue
108 | let id: UUID
:
318 | actionQueue.async { [self] in
319 | do {
320 | let client = try client.get(name: "ESClient")
| `- warning: capture of 'self' with non-sendable type 'ESXPCExportedObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
321 | try body(client)
322 | reply(nil)
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCListener.swift:321:21: warning: capture of 'body' with non-sendable type '(ESClient) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
319 | do {
320 | let client = try client.get(name: "ESClient")
321 | try body(client)
| |- warning: capture of 'body' with non-sendable type '(ESClient) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
322 | reply(nil)
323 | } catch {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCListener.swift:322:17: warning: capture of 'reply' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
320 | let client = try client.get(name: "ESClient")
321 | try body(client)
322 | reply(nil)
| |- warning: capture of 'reply' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
323 | } catch {
324 | reply(error.secureCodingCompliant())
[125/127] Compiling SpellbookEndpointSecurityXPC ESXPCConnection.swift
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCConnection.swift:29:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import SpellbookFoundation
28 |
29 | private let log = SpellbookLogger.internalLog(.xpc)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | internal final class ESXPCConnection {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCConnection.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
25 | import EndpointSecurity
26 | import Foundation
27 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
28 |
29 | private let log = SpellbookLogger.internalLog(.xpc)
| |- note: annotate 'log' with '@MainActor' 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 |
31 | internal final class ESXPCConnection {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCConnection.swift:118:27: warning: capture of 'self' with non-sendable type 'ESXPCConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | private let log = SpellbookLogger.internalLog(.xpc)
30 |
31 | internal final class ESXPCConnection {
| `- note: class 'ESXPCConnection' does not conform to the 'Sendable' protocol
32 | typealias ConnectResult = Result<es_new_client_result_t, Error>
33 | var connectionStateHandler: ((ConnectResult) -> Void)?
:
116 | let notifyResult = result.map(\.result)
117 | notify?(notifyResult)
118 | queue.async { self.connectionStateHandler?(notifyResult) }
| `- warning: capture of 'self' with non-sendable type 'ESXPCConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | }
120 |
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCConnection.swift:136:32: warning: capture of 'self' with non-sendable type 'ESXPCConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | private let log = SpellbookLogger.internalLog(.xpc)
30 |
31 | internal final class ESXPCConnection {
| `- note: class 'ESXPCConnection' does not conform to the 'Sendable' protocol
32 | typealias ConnectResult = Result<es_new_client_result_t, Error>
33 | var connectionStateHandler: ((ConnectResult) -> Void)?
:
134 |
135 | guard let self else { return }
136 | self.queue.async { self.connectionStateHandler?(.failure(CocoaError(.xpcConnectionInterrupted))) }
| `- warning: capture of 'self' with non-sendable type 'ESXPCConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 | self.scheduleReconnect()
138 | }
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCConnection.swift:150:87: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
148 |
149 | private func scheduleReconnect() {
150 | DispatchQueue.global().asyncAfter(deadline: .now() + reconnectDelay, execute: reconnect)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
151 | }
152 | }
[126/127] Compiling SpellbookEndpointSecurityXPC ESXPCClient.swift
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCClient.swift:29:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import SpellbookFoundation
28 |
29 | private let log = SpellbookLogger.internalLog(.xpc)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | public final class ESXPCClient: ESClientProtocol {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCClient.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
25 | import EndpointSecurity
26 | import Foundation
27 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
28 |
29 | private let log = SpellbookLogger.internalLog(.xpc)
| |- note: annotate 'log' with '@MainActor' 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 |
31 | public final class ESXPCClient: ESClientProtocol {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCClient.swift:333:24: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
331 | var receiveCustomMessageHandler: ((Data, @escaping (Result<Data, Error>) -> Void) -> Void)?
332 |
333 | private static let fallback = ESAuthResolution.allowOnce
| `- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | func handlePathInterest(_ data: Data, reply: @escaping (Data?) -> Void) {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:27:15: note: struct 'ESAuthResolution' does not conform to the 'Sendable' protocol
25 | import SpellbookFoundation
26 |
27 | public struct ESAuthResolution: Equatable, Codable {
| `- note: struct 'ESAuthResolution' does not conform to the 'Sendable' protocol
28 | public var result: ESAuthResult
29 | public var cache: Bool
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCClient.swift:23:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookEndpointSecurity'
21 | // SOFTWARE.
22 |
23 | import SpellbookEndpointSecurity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookEndpointSecurity'
24 |
25 | import EndpointSecurity
:
331 | var receiveCustomMessageHandler: ((Data, @escaping (Result<Data, Error>) -> Void) -> Void)?
332 |
333 | private static let fallback = ESAuthResolution.allowOnce
| |- note: annotate 'fallback' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |
335 | func handlePathInterest(_ data: Data, reply: @escaping (Data?) -> Void) {
[127/127] Emitting module SpellbookEndpointSecurityXPC
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCClient.swift:29:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import SpellbookFoundation
28 |
29 | private let log = SpellbookLogger.internalLog(.xpc)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | public final class ESXPCClient: ESClientProtocol {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCClient.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
25 | import EndpointSecurity
26 | import Foundation
27 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
28 |
29 | private let log = SpellbookLogger.internalLog(.xpc)
| |- note: annotate 'log' with '@MainActor' 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 |
31 | public final class ESXPCClient: ESClientProtocol {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCClient.swift:333:24: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
331 | var receiveCustomMessageHandler: ((Data, @escaping (Result<Data, Error>) -> Void) -> Void)?
332 |
333 | private static let fallback = ESAuthResolution.allowOnce
| `- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'ESAuthResolution' may have shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | func handlePathInterest(_ data: Data, reply: @escaping (Data?) -> Void) {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurity/ESClient/ESClientTypes.swift:27:15: note: struct 'ESAuthResolution' does not conform to the 'Sendable' protocol
25 | import SpellbookFoundation
26 |
27 | public struct ESAuthResolution: Equatable, Codable {
| `- note: struct 'ESAuthResolution' does not conform to the 'Sendable' protocol
28 | public var result: ESAuthResult
29 | public var cache: Bool
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCClient.swift:23:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookEndpointSecurity'
21 | // SOFTWARE.
22 |
23 | import SpellbookEndpointSecurity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookEndpointSecurity'
24 |
25 | import EndpointSecurity
:
331 | var receiveCustomMessageHandler: ((Data, @escaping (Result<Data, Error>) -> Void) -> Void)?
332 |
333 | private static let fallback = ESAuthResolution.allowOnce
| |- note: annotate 'fallback' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |
335 | func handlePathInterest(_ data: Data, reply: @escaping (Data?) -> Void) {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCConnection.swift:29:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import SpellbookFoundation
28 |
29 | private let log = SpellbookLogger.internalLog(.xpc)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | internal final class ESXPCConnection {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCConnection.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
25 | import EndpointSecurity
26 | import Foundation
27 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
28 |
29 | private let log = SpellbookLogger.internalLog(.xpc)
| |- note: annotate 'log' with '@MainActor' 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 |
31 | internal final class ESXPCConnection {
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCListener.swift:30:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
28 | import SpellbookFoundation
29 |
30 | private let log = SpellbookLogger.internalLog(.xpc)
| `- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | public final class ESXPCListener: NSObject {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftSpellbook/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/EndpointSecurity/Sources/SpellbookEndpointSecurityXPC/ESXPCListener.swift:28:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
26 | import EndpointSecurity
27 | import Foundation
28 | import SpellbookFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpellbookFoundation'
29 |
30 | private let log = SpellbookLogger.internalLog(.xpc)
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public final class ESXPCListener: NSObject {
Build complete! (35.24s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftspellbook",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alkenso/SwiftSpellbook.git"
}
],
"manifest_display_name" : "SwiftSpellbook_macOS",
"name" : "SwiftSpellbook_macOS",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "SpellbookMac",
"targets" : [
"SpellbookMac"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpellbookEndpointSecurity",
"targets" : [
"SpellbookEndpointSecurity"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpellbookEndpointSecurityXPC",
"targets" : [
"SpellbookEndpointSecurityXPC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpellbookHDIUtil",
"targets" : [
"SpellbookHDIUtil"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpellbookLaunchctl",
"targets" : [
"SpellbookLaunchctl"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpellbookXPC",
"targets" : [
"SpellbookXPC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "s_xar",
"targets" : [
"s_xar"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "s_membership",
"targets" : [
"s_membership"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "s_libproc",
"targets" : [
"s_libproc"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "s_xar",
"module_type" : "SystemLibraryTarget",
"name" : "s_xar",
"path" : "MacShims/xar",
"product_memberships" : [
"s_xar"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "s_membership",
"module_type" : "SystemLibraryTarget",
"name" : "s_membership",
"path" : "MacShims/membership",
"product_memberships" : [
"SpellbookMac",
"SpellbookHDIUtil",
"SpellbookLaunchctl",
"SpellbookXPC",
"s_membership"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "s_libproc",
"module_type" : "SystemLibraryTarget",
"name" : "s_libproc",
"path" : "MacShims/libproc",
"product_memberships" : [
"s_libproc"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "SpellbookXPCTests",
"module_type" : "SwiftTarget",
"name" : "SpellbookXPCTests",
"path" : "XPC/Tests/SpellbookXPCTests",
"product_dependencies" : [
"SpellbookFoundation",
"SpellbookTestUtils"
],
"sources" : [
"XPCClientTests.swift",
"XPCTransportTests.swift"
],
"target_dependencies" : [
"SpellbookXPC"
],
"type" : "test"
},
{
"c99name" : "SpellbookXPC",
"module_type" : "SwiftTarget",
"name" : "SpellbookXPC",
"path" : "XPC/Sources/SpellbookXPC",
"product_dependencies" : [
"SpellbookFoundation",
"SpellbookBinaryParsing"
],
"product_memberships" : [
"SpellbookXPC"
],
"sources" : [
"XPC Transport/XPCTransportConnection.swift",
"XPC Transport/XPCTransportListener.swift",
"XPC Transport/XPCTransportMessage.swift",
"XPC Transport/XPCTransportUtils.swift",
"XPCConnection/Utils.swift",
"XPCConnection/XPCClient.swift",
"XPCConnection/XPCConnection.swift",
"XPCConnection/XPCInterface.swift",
"XPCConnection/XPCListener.swift"
],
"target_dependencies" : [
"SpellbookMac"
],
"type" : "library"
},
{
"c99name" : "SpellbookMacTests",
"module_type" : "SwiftTarget",
"name" : "SpellbookMacTests",
"path" : "Mac/Tests/SpellbookMacTests",
"product_dependencies" : [
"SpellbookFoundation",
"SpellbookTestUtils"
],
"sources" : [
"GUITests/GUITests.swift",
"System & Hardware/ProcessInfoTests.swift",
"System & Hardware/ProcessTests.swift",
"System & Hardware/SysctlTests.swift",
"Users & Groups/ACLTests.swift",
"Users & Groups/UnixTests.swift"
],
"target_dependencies" : [
"SpellbookMac"
],
"type" : "test"
},
{
"c99name" : "SpellbookMac",
"module_type" : "SwiftTarget",
"name" : "SpellbookMac",
"path" : "Mac/Sources/SpellbookMac",
"product_dependencies" : [
"SpellbookFoundation"
],
"product_memberships" : [
"SpellbookMac",
"SpellbookHDIUtil",
"SpellbookLaunchctl",
"SpellbookXPC"
],
"sources" : [
"GUI/CGWindowInfo.swift",
"GUI/Extensions - Coordinates.swift",
"System & Hardware/Extensions - Process.swift",
"System & Hardware/Extensions - ProcessInfo.swift",
"System & Hardware/Sysctl.swift",
"Users & Groups/ACL.swift",
"Users & Groups/Membership.swift",
"Users & Groups/UnixGroup.swift",
"Users & Groups/UnixUser.swift"
],
"target_dependencies" : [
"s_membership"
],
"type" : "library"
},
{
"c99name" : "SpellbookLaunchctlTests",
"module_type" : "SwiftTarget",
"name" : "SpellbookLaunchctlTests",
"path" : "Launchctl/Tests/SpellbookLaunchctlTests",
"product_dependencies" : [
"SpellbookFoundation"
],
"sources" : [
"LaunchctlParsingTests.swift",
"LiveTesting.swift",
"ServiceParsingTests.swift"
],
"target_dependencies" : [
"SpellbookLaunchctl"
],
"type" : "test"
},
{
"c99name" : "SpellbookLaunchctl",
"module_type" : "SwiftTarget",
"name" : "SpellbookLaunchctl",
"path" : "Launchctl/Sources/SpellbookLaunchctl",
"product_dependencies" : [
"SpellbookFoundation"
],
"product_memberships" : [
"SpellbookLaunchctl"
],
"sources" : [
"Internals/Error.swift",
"Internals/OutputParser.swift",
"Internals/Utils.swift",
"Launchctl.swift",
"Service.swift"
],
"target_dependencies" : [
"SpellbookMac"
],
"type" : "library"
},
{
"c99name" : "SpellbookHDIUtilTests",
"module_type" : "SwiftTarget",
"name" : "SpellbookHDIUtilTests",
"path" : "HDIUtil/Tests/SpellbookHDIUtilTests",
"product_dependencies" : [
"SpellbookFoundation"
],
"sources" : [
"HDIUtilTests.swift"
],
"target_dependencies" : [
"SpellbookHDIUtil"
],
"type" : "test"
},
{
"c99name" : "SpellbookHDIUtil",
"module_type" : "SwiftTarget",
"name" : "SpellbookHDIUtil",
"path" : "HDIUtil/Sources/SpellbookHDIUtil",
"product_dependencies" : [
"SpellbookFoundation"
],
"product_memberships" : [
"SpellbookHDIUtil"
],
"sources" : [
"HDIUtil.swift",
"HDIUtilParser.swift"
],
"target_dependencies" : [
"SpellbookMac"
],
"type" : "library"
},
{
"c99name" : "SpellbookEndpointSecurityXPC",
"module_type" : "SwiftTarget",
"name" : "SpellbookEndpointSecurityXPC",
"path" : "EndpointSecurity/Sources/SpellbookEndpointSecurityXPC",
"product_dependencies" : [
"SpellbookFoundation"
],
"product_memberships" : [
"SpellbookEndpointSecurityXPC"
],
"sources" : [
"ESXPCClient.swift",
"ESXPCConnection.swift",
"ESXPCInternals.swift",
"ESXPCListener.swift"
],
"target_dependencies" : [
"SpellbookEndpointSecurity"
],
"type" : "library"
},
{
"c99name" : "SpellbookEndpointSecurityTests",
"module_type" : "SwiftTarget",
"name" : "SpellbookEndpointSecurityTests",
"path" : "EndpointSecurity/Tests/SpellbookEndpointSecurityTests",
"product_dependencies" : [
"SpellbookFoundation",
"SpellbookTestUtils"
],
"sources" : [
"ESClientTests.swift",
"ESClientTypesTests.swift",
"ESListener/ESServiceTests.swift",
"ESListener/MockESClient.swift",
"ESMutePathTests.swift",
"ESMuteProcessTests.swift",
"MockNativeClient.swift",
"TestUtils.swift"
],
"target_dependencies" : [
"SpellbookEndpointSecurity"
],
"type" : "test"
},
{
"c99name" : "SpellbookEndpointSecurity",
"module_type" : "SwiftTarget",
"name" : "SpellbookEndpointSecurity",
"path" : "EndpointSecurity/Sources/SpellbookEndpointSecurity",
"product_dependencies" : [
"SpellbookFoundation"
],
"product_memberships" : [
"SpellbookEndpointSecurity",
"SpellbookEndpointSecurityXPC"
],
"sources" : [
"ESClient - Native/ESNativeClient.swift",
"ESClient - Native/ESNativeTypeDescriptions.swift",
"ESClient - Native/ESNativeTypeUtils.swift",
"ESClient/ESClient.swift",
"ESClient/ESClientProtocol.swift",
"ESClient/ESClientTypes.swift",
"ESClient/ESMessagePtr.swift",
"ESClient/ESMutePath.swift",
"ESClient/ESMuteProcess.swift",
"ESMessage/ESConverter.swift",
"ESMessage/ESTypes.swift",
"ESService/ESService.swift",
"ESService/ESServiceSubscriptionStore.swift",
"ESService/ESSubscription.swift",
"Log.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.