Build Information
Failed to build sEndpointSecurity, reference main (4c235e
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 20:27:14 UTC.
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
520 | }
521 |
522 | extension es_mute_inversion_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_mute_inversion_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
523 | fileprivate var name: String? {
524 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:539:1: warning: extension declares a conformance of imported type 'es_mute_inverted_return_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
537 | }
538 |
539 | extension es_mute_inverted_return_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_mute_inverted_return_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
540 | fileprivate var name: String? {
541 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:554:1: warning: extension declares a conformance of imported type 'es_btm_item_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
552 | }
553 |
554 | extension es_btm_item_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_btm_item_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
555 | fileprivate var name: String? {
556 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:573:1: warning: extension declares a conformance of imported type 'es_touchid_mode_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
571 | }
572 |
573 | extension es_touchid_mode_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_touchid_mode_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
574 | fileprivate var name: String? {
575 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:586:1: warning: extension declares a conformance of imported type 'es_auto_unlock_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
584 | }
585 |
586 | extension es_auto_unlock_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_auto_unlock_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
587 | fileprivate var name: String? {
588 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:599:1: warning: extension declares a conformance of imported type 'es_openssh_login_result_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
597 | }
598 |
599 | extension es_openssh_login_result_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_openssh_login_result_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
600 | fileprivate var name: String? {
601 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:628:1: warning: extension declares a conformance of imported type 'es_address_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
626 | }
627 |
628 | extension es_address_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_address_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
629 | fileprivate var name: String? {
630 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:645:1: warning: extension declares a conformance of imported type 'es_profile_source_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
643 | }
644 |
645 | extension es_profile_source_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_profile_source_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
646 | fileprivate var name: String? {
647 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:658:1: warning: extension declares a conformance of imported type 'es_sudo_plugin_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
656 | }
657 |
658 | extension es_sudo_plugin_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_sudo_plugin_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
659 | fileprivate var name: String? {
660 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:679:1: warning: extension declares a conformance of imported type 'es_authorization_rule_class_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
677 | }
678 |
679 | extension es_authorization_rule_class_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_authorization_rule_class_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
680 | fileprivate var name: String? {
681 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:702:1: warning: extension declares a conformance of imported type 'es_od_account_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
700 | }
701 |
702 | extension es_od_account_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_od_account_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
703 | fileprivate var name: String? {
704 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:715:1: warning: extension declares a conformance of imported type 'es_od_record_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
713 | }
714 |
715 | extension es_od_record_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_od_record_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
716 | fileprivate var name: String? {
717 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:728:1: warning: extension declares a conformance of imported type 'es_xpc_domain_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
726 | }
727 |
728 | extension es_xpc_domain_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_xpc_domain_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
729 | fileprivate var name: String? {
730 | switch self {
[71/83] Compiling sEndpointSecurity ESNativeTypeDescriptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:36:1: warning: extension declares a conformance of imported type 'es_event_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
34 | }
35 |
36 | extension es_event_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_event_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
37 | fileprivate var name: String? {
38 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:337:1: warning: extension declares a conformance of imported type 'es_auth_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
335 | }
336 |
337 | extension es_auth_result_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_auth_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
338 | fileprivate var name: String? {
339 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:350:1: warning: extension declares a conformance of imported type 'es_action_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
348 | }
349 |
350 | extension es_action_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_action_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
351 | fileprivate var name: String? {
352 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:363:1: warning: extension declares a conformance of imported type 'es_result_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
361 | }
362 |
363 | extension es_result_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_result_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
364 | fileprivate var name: String? {
365 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:376:1: warning: extension declares a conformance of imported type 'es_return_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
374 | }
375 |
376 | extension es_return_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_return_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
377 | fileprivate var name: String? {
378 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:389:1: warning: extension declares a conformance of imported type 'es_respond_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
387 | }
388 |
389 | extension es_respond_result_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_respond_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
390 | fileprivate var name: String? {
391 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:410:1: warning: extension declares a conformance of imported type 'es_new_client_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
408 | }
409 |
410 | extension es_new_client_result_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_new_client_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
411 | fileprivate var name: String? {
412 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:433:1: warning: extension declares a conformance of imported type 'es_clear_cache_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
431 | }
432 |
433 | extension es_clear_cache_result_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_clear_cache_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
434 | fileprivate var name: String? {
435 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:448:1: warning: extension declares a conformance of imported type 'es_proc_check_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
446 | }
447 |
448 | extension es_proc_check_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_proc_check_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
449 | fileprivate var name: String? {
450 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:477:1: warning: extension declares a conformance of imported type 'es_proc_suspend_resume_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
475 | }
476 |
477 | extension es_proc_suspend_resume_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_proc_suspend_resume_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
478 | fileprivate var name: String? {
479 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:492:1: warning: extension declares a conformance of imported type 'es_set_or_clear_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
490 | }
491 |
492 | extension es_set_or_clear_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_set_or_clear_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
493 | fileprivate var name: String? {
494 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:505:1: warning: extension declares a conformance of imported type 'es_mute_path_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
503 | }
504 |
505 | extension es_mute_path_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_mute_path_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
506 | fileprivate var name: String? {
507 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:522:1: warning: extension declares a conformance of imported type 'es_mute_inversion_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
520 | }
521 |
522 | extension es_mute_inversion_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_mute_inversion_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
523 | fileprivate var name: String? {
524 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:539:1: warning: extension declares a conformance of imported type 'es_mute_inverted_return_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
537 | }
538 |
539 | extension es_mute_inverted_return_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_mute_inverted_return_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
540 | fileprivate var name: String? {
541 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:554:1: warning: extension declares a conformance of imported type 'es_btm_item_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
552 | }
553 |
554 | extension es_btm_item_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_btm_item_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
555 | fileprivate var name: String? {
556 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:573:1: warning: extension declares a conformance of imported type 'es_touchid_mode_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
571 | }
572 |
573 | extension es_touchid_mode_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_touchid_mode_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
574 | fileprivate var name: String? {
575 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:586:1: warning: extension declares a conformance of imported type 'es_auto_unlock_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
584 | }
585 |
586 | extension es_auto_unlock_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_auto_unlock_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
587 | fileprivate var name: String? {
588 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:599:1: warning: extension declares a conformance of imported type 'es_openssh_login_result_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
597 | }
598 |
599 | extension es_openssh_login_result_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_openssh_login_result_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
600 | fileprivate var name: String? {
601 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:628:1: warning: extension declares a conformance of imported type 'es_address_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
626 | }
627 |
628 | extension es_address_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_address_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
629 | fileprivate var name: String? {
630 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:645:1: warning: extension declares a conformance of imported type 'es_profile_source_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
643 | }
644 |
645 | extension es_profile_source_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_profile_source_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
646 | fileprivate var name: String? {
647 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:658:1: warning: extension declares a conformance of imported type 'es_sudo_plugin_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
656 | }
657 |
658 | extension es_sudo_plugin_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_sudo_plugin_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
659 | fileprivate var name: String? {
660 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:679:1: warning: extension declares a conformance of imported type 'es_authorization_rule_class_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
677 | }
678 |
679 | extension es_authorization_rule_class_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_authorization_rule_class_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
680 | fileprivate var name: String? {
681 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:702:1: warning: extension declares a conformance of imported type 'es_od_account_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
700 | }
701 |
702 | extension es_od_account_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_od_account_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
703 | fileprivate var name: String? {
704 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:715:1: warning: extension declares a conformance of imported type 'es_od_record_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
713 | }
714 |
715 | extension es_od_record_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_od_record_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
716 | fileprivate var name: String? {
717 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:728:1: warning: extension declares a conformance of imported type 'es_xpc_domain_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
726 | }
727 |
728 | extension es_xpc_domain_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_xpc_domain_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
729 | fileprivate var name: String? {
730 | switch self {
[72/83] Compiling sEndpointSecurity ESServiceSubscriptionStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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 {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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)
[73/83] Compiling sEndpointSecurity ESMuteProcess.swift
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/ESClient/ESMuteProcess.swift:47:23: warning: capture of 'self' with non-sendable type 'ESMuteProcess?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | private let log = SpellbookLogger.internalLog(.client)
28 |
29 | internal final class ESMuteProcess {
| `- note: class 'ESMuteProcess' does not conform to the 'Sendable' protocol
30 | private let client: ESNativeClient
31 | private let cleanupDelay: TimeInterval
:
45 | private func scheduleCleanupDiedProcesses() {
46 | DispatchQueue.global().asyncAfter(deadline: .now() + cleanupDelay) { [weak self] in
47 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'ESMuteProcess?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
48 | self.cleanupDiedProcesses()
49 | self.scheduleCleanupDiedProcesses()
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:588:40: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
586 |
587 | func esEvent(file_provider_materialize es: es_event_file_provider_materialize_t) -> ESEvent.FileProviderMaterialize {
588 | .init(instigator: esProcess(es.instigator), source: esFile(es.source), target: esFile(es.target))
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
589 | }
590 |
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:820:66: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
818 | case ES_AUTHENTICATION_TYPE_OD:
819 | type = .od(.init(
820 | instigator: esProcess(es.pointee.data.od.pointee.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
821 | recordType: esString(es.pointee.data.od.pointee.record_type),
822 | recordName: esString(es.pointee.data.od.pointee.record_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:828:71: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
826 | case ES_AUTHENTICATION_TYPE_TOUCHID:
827 | type = .touchID(.init(
828 | instigator: esProcess(es.pointee.data.touchid.pointee.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
829 | touchIDMode: es.pointee.data.touchid.pointee.touchid_mode,
830 | uid: es.pointee.data.touchid.pointee.has_uid ? es.pointee.data.touchid.pointee.uid.uid : nil
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:834:69: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
832 | case ES_AUTHENTICATION_TYPE_TOKEN:
833 | type = .token(.init(
834 | instigator: esProcess(es.pointee.data.token.pointee.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
835 | pubkeyHash: esString(es.pointee.data.token.pointee.pubkey_hash),
836 | tokenID: esString(es.pointee.data.token.pointee.token_id),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:975:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
973 | func esEvent(profileAdd es: es_event_profile_add_t) -> ESEvent.ProfileAdd {
974 | .init(
975 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
976 | isUpdate: es.is_update,
977 | profile: esProfile(es.profile.pointee)
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:983:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
981 | func esEvent(profileRemove es: es_event_profile_remove_t) -> ESEvent.ProfileRemove {
982 | .init(
983 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
984 | profile: esProfile(es.profile.pointee)
985 | )
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1004:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1002 | func esEvent(authorizationPetition es: es_event_authorization_petition_t) -> ESEvent.AuthorizationPetition {
1003 | .init(
1004 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1005 | petitioner: es.petitioner.flatMap(esProcess),
1006 | flags: es.flags,
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1013:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1011 | func esEvent(authorizationJudgement es: es_event_authorization_judgement_t) -> ESEvent.AuthorizationJudgement {
1012 | .init(
1013 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1014 | petitioner: es.petitioner.flatMap(esProcess),
1015 | returnCode: es.return_code,
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1046:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1044 | func esEvent(odGroupAdd es: es_event_od_group_add_t) throws -> ESEvent.ODGroupAdd {
1045 | .init(
1046 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1047 | errorCode: es.error_code,
1048 | groupName: esString(es.group_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1057:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1055 | func esEvent(odGroupRemove es: es_event_od_group_remove_t) throws -> ESEvent.ODGroupRemove {
1056 | .init(
1057 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1058 | errorCode: es.error_code,
1059 | groupName: esString(es.group_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1068:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1066 | func esEvent(odGroupSet es: es_event_od_group_set_t) throws -> ESEvent.ODGroupSet {
1067 | .init(
1068 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1069 | errorCode: es.error_code,
1070 | groupName: esString(es.group_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1079:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1077 | func esEvent(odModifyPassword es: es_event_od_modify_password_t) -> ESEvent.ODModifyPassword {
1078 | .init(
1079 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1080 | errorCode: es.error_code,
1081 | accountType: es.account_type,
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1090:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1088 | func esEvent(odDisableUser es: es_event_od_disable_user_t) -> ESEvent.ODDisableUser {
1089 | .init(
1090 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1091 | errorCode: es.error_code,
1092 | userName: esString(es.user_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1100:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1098 | func esEvent(odEnableUser es: es_event_od_enable_user_t) -> ESEvent.ODEnableUser {
1099 | .init(
1100 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1101 | errorCode: es.error_code,
1102 | userName: esString(es.user_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1110:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1108 | func esEvent(odAttributeValueAdd es: es_event_od_attribute_value_add_t) -> ESEvent.ODAttributeValueAdd {
1109 | .init(
1110 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1111 | errorCode: es.error_code,
1112 | recordType: es.record_type,
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1123:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1121 | func esEvent(odAttributeValueRemove es: es_event_od_attribute_value_remove_t) -> ESEvent.ODAttributeValueRemove {
1122 | .init(
1123 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1124 | errorCode: es.error_code,
1125 | recordType: es.record_type,
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1136:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1134 | func esEvent(odAttributeSet es: es_event_od_attribute_set_t) -> ESEvent.ODAttributeSet {
1135 | .init(
1136 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1137 | errorCode: es.error_code,
1138 | recordType: es.record_type,
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1152:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1150 | func esEvent(odCreateUser es: es_event_od_create_user_t) -> ESEvent.ODCreateUser {
1151 | .init(
1152 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1153 | errorCode: es.error_code,
1154 | userName: esString(es.user_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1162:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1160 | func esEvent(odCreateGroup es: es_event_od_create_group_t) -> ESEvent.ODCreateGroup {
1161 | .init(
1162 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1163 | errorCode: es.error_code,
1164 | groupName: esString(es.group_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1172:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1170 | func esEvent(odDeleteUser es: es_event_od_delete_user_t) -> ESEvent.ODDeleteUser {
1171 | .init(
1172 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1173 | errorCode: es.error_code,
1174 | userName: esString(es.user_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1182:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1180 | func esEvent(odDeleteGroup es: es_event_od_delete_group_t) -> ESEvent.ODDeleteGroup {
1181 | .init(
1182 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1183 | errorCode: es.error_code,
1184 | groupName: esString(es.group_name),
[74/83] Compiling sEndpointSecurity ESConverter.swift
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/ESClient/ESMuteProcess.swift:47:23: warning: capture of 'self' with non-sendable type 'ESMuteProcess?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | private let log = SpellbookLogger.internalLog(.client)
28 |
29 | internal final class ESMuteProcess {
| `- note: class 'ESMuteProcess' does not conform to the 'Sendable' protocol
30 | private let client: ESNativeClient
31 | private let cleanupDelay: TimeInterval
:
45 | private func scheduleCleanupDiedProcesses() {
46 | DispatchQueue.global().asyncAfter(deadline: .now() + cleanupDelay) { [weak self] in
47 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'ESMuteProcess?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
48 | self.cleanupDiedProcesses()
49 | self.scheduleCleanupDiedProcesses()
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:588:40: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
586 |
587 | func esEvent(file_provider_materialize es: es_event_file_provider_materialize_t) -> ESEvent.FileProviderMaterialize {
588 | .init(instigator: esProcess(es.instigator), source: esFile(es.source), target: esFile(es.target))
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
589 | }
590 |
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:820:66: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
818 | case ES_AUTHENTICATION_TYPE_OD:
819 | type = .od(.init(
820 | instigator: esProcess(es.pointee.data.od.pointee.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
821 | recordType: esString(es.pointee.data.od.pointee.record_type),
822 | recordName: esString(es.pointee.data.od.pointee.record_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:828:71: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
826 | case ES_AUTHENTICATION_TYPE_TOUCHID:
827 | type = .touchID(.init(
828 | instigator: esProcess(es.pointee.data.touchid.pointee.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
829 | touchIDMode: es.pointee.data.touchid.pointee.touchid_mode,
830 | uid: es.pointee.data.touchid.pointee.has_uid ? es.pointee.data.touchid.pointee.uid.uid : nil
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:834:69: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
832 | case ES_AUTHENTICATION_TYPE_TOKEN:
833 | type = .token(.init(
834 | instigator: esProcess(es.pointee.data.token.pointee.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
835 | pubkeyHash: esString(es.pointee.data.token.pointee.pubkey_hash),
836 | tokenID: esString(es.pointee.data.token.pointee.token_id),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:975:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
973 | func esEvent(profileAdd es: es_event_profile_add_t) -> ESEvent.ProfileAdd {
974 | .init(
975 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
976 | isUpdate: es.is_update,
977 | profile: esProfile(es.profile.pointee)
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:983:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
981 | func esEvent(profileRemove es: es_event_profile_remove_t) -> ESEvent.ProfileRemove {
982 | .init(
983 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
984 | profile: esProfile(es.profile.pointee)
985 | )
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1004:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1002 | func esEvent(authorizationPetition es: es_event_authorization_petition_t) -> ESEvent.AuthorizationPetition {
1003 | .init(
1004 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1005 | petitioner: es.petitioner.flatMap(esProcess),
1006 | flags: es.flags,
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1013:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1011 | func esEvent(authorizationJudgement es: es_event_authorization_judgement_t) -> ESEvent.AuthorizationJudgement {
1012 | .init(
1013 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1014 | petitioner: es.petitioner.flatMap(esProcess),
1015 | returnCode: es.return_code,
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1046:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1044 | func esEvent(odGroupAdd es: es_event_od_group_add_t) throws -> ESEvent.ODGroupAdd {
1045 | .init(
1046 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1047 | errorCode: es.error_code,
1048 | groupName: esString(es.group_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1057:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1055 | func esEvent(odGroupRemove es: es_event_od_group_remove_t) throws -> ESEvent.ODGroupRemove {
1056 | .init(
1057 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1058 | errorCode: es.error_code,
1059 | groupName: esString(es.group_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1068:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1066 | func esEvent(odGroupSet es: es_event_od_group_set_t) throws -> ESEvent.ODGroupSet {
1067 | .init(
1068 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1069 | errorCode: es.error_code,
1070 | groupName: esString(es.group_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1079:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1077 | func esEvent(odModifyPassword es: es_event_od_modify_password_t) -> ESEvent.ODModifyPassword {
1078 | .init(
1079 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1080 | errorCode: es.error_code,
1081 | accountType: es.account_type,
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1090:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1088 | func esEvent(odDisableUser es: es_event_od_disable_user_t) -> ESEvent.ODDisableUser {
1089 | .init(
1090 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1091 | errorCode: es.error_code,
1092 | userName: esString(es.user_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1100:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1098 | func esEvent(odEnableUser es: es_event_od_enable_user_t) -> ESEvent.ODEnableUser {
1099 | .init(
1100 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1101 | errorCode: es.error_code,
1102 | userName: esString(es.user_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1110:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1108 | func esEvent(odAttributeValueAdd es: es_event_od_attribute_value_add_t) -> ESEvent.ODAttributeValueAdd {
1109 | .init(
1110 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1111 | errorCode: es.error_code,
1112 | recordType: es.record_type,
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1123:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1121 | func esEvent(odAttributeValueRemove es: es_event_od_attribute_value_remove_t) -> ESEvent.ODAttributeValueRemove {
1122 | .init(
1123 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1124 | errorCode: es.error_code,
1125 | recordType: es.record_type,
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1136:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1134 | func esEvent(odAttributeSet es: es_event_od_attribute_set_t) -> ESEvent.ODAttributeSet {
1135 | .init(
1136 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1137 | errorCode: es.error_code,
1138 | recordType: es.record_type,
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1152:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1150 | func esEvent(odCreateUser es: es_event_od_create_user_t) -> ESEvent.ODCreateUser {
1151 | .init(
1152 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1153 | errorCode: es.error_code,
1154 | userName: esString(es.user_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1162:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1160 | func esEvent(odCreateGroup es: es_event_od_create_group_t) -> ESEvent.ODCreateGroup {
1161 | .init(
1162 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1163 | errorCode: es.error_code,
1164 | groupName: esString(es.group_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1172:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1170 | func esEvent(odDeleteUser es: es_event_od_delete_user_t) -> ESEvent.ODDeleteUser {
1171 | .init(
1172 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1173 | errorCode: es.error_code,
1174 | userName: esString(es.user_name),
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESConverter.swift:1182:38: error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
1180 | func esEvent(odDeleteGroup es: es_event_od_delete_group_t) -> ESEvent.ODDeleteGroup {
1181 | .init(
1182 | instigator: esProcess(es.instigator),
| |- error: value of optional type 'UnsafeMutablePointer<es_process_t>?' must be unwrapped to a value of type 'UnsafeMutablePointer<es_process_t>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1183 | errorCode: es.error_code,
1184 | groupName: esString(es.group_name),
[75/83] Emitting module sEndpointSecurity
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:36:1: warning: extension declares a conformance of imported type 'es_event_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
34 | }
35 |
36 | extension es_event_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_event_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
37 | fileprivate var name: String? {
38 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:337:1: warning: extension declares a conformance of imported type 'es_auth_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
335 | }
336 |
337 | extension es_auth_result_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_auth_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
338 | fileprivate var name: String? {
339 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:350:1: warning: extension declares a conformance of imported type 'es_action_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
348 | }
349 |
350 | extension es_action_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_action_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
351 | fileprivate var name: String? {
352 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:363:1: warning: extension declares a conformance of imported type 'es_result_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
361 | }
362 |
363 | extension es_result_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_result_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
364 | fileprivate var name: String? {
365 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:376:1: warning: extension declares a conformance of imported type 'es_return_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
374 | }
375 |
376 | extension es_return_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_return_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
377 | fileprivate var name: String? {
378 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:389:1: warning: extension declares a conformance of imported type 'es_respond_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
387 | }
388 |
389 | extension es_respond_result_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_respond_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
390 | fileprivate var name: String? {
391 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:410:1: warning: extension declares a conformance of imported type 'es_new_client_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
408 | }
409 |
410 | extension es_new_client_result_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_new_client_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
411 | fileprivate var name: String? {
412 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:433:1: warning: extension declares a conformance of imported type 'es_clear_cache_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
431 | }
432 |
433 | extension es_clear_cache_result_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_clear_cache_result_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
434 | fileprivate var name: String? {
435 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:448:1: warning: extension declares a conformance of imported type 'es_proc_check_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
446 | }
447 |
448 | extension es_proc_check_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_proc_check_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
449 | fileprivate var name: String? {
450 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:477:1: warning: extension declares a conformance of imported type 'es_proc_suspend_resume_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
475 | }
476 |
477 | extension es_proc_suspend_resume_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_proc_suspend_resume_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
478 | fileprivate var name: String? {
479 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:492:1: warning: extension declares a conformance of imported type 'es_set_or_clear_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
490 | }
491 |
492 | extension es_set_or_clear_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_set_or_clear_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
493 | fileprivate var name: String? {
494 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:505:1: warning: extension declares a conformance of imported type 'es_mute_path_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
503 | }
504 |
505 | extension es_mute_path_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_mute_path_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
506 | fileprivate var name: String? {
507 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:522:1: warning: extension declares a conformance of imported type 'es_mute_inversion_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
520 | }
521 |
522 | extension es_mute_inversion_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_mute_inversion_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
523 | fileprivate var name: String? {
524 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:539:1: warning: extension declares a conformance of imported type 'es_mute_inverted_return_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
537 | }
538 |
539 | extension es_mute_inverted_return_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_mute_inverted_return_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
540 | fileprivate var name: String? {
541 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:554:1: warning: extension declares a conformance of imported type 'es_btm_item_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
552 | }
553 |
554 | extension es_btm_item_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_btm_item_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
555 | fileprivate var name: String? {
556 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:573:1: warning: extension declares a conformance of imported type 'es_touchid_mode_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
571 | }
572 |
573 | extension es_touchid_mode_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_touchid_mode_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
574 | fileprivate var name: String? {
575 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:586:1: warning: extension declares a conformance of imported type 'es_auto_unlock_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
584 | }
585 |
586 | extension es_auto_unlock_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_auto_unlock_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
587 | fileprivate var name: String? {
588 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:599:1: warning: extension declares a conformance of imported type 'es_openssh_login_result_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
597 | }
598 |
599 | extension es_openssh_login_result_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_openssh_login_result_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
600 | fileprivate var name: String? {
601 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:628:1: warning: extension declares a conformance of imported type 'es_address_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
626 | }
627 |
628 | extension es_address_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_address_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
629 | fileprivate var name: String? {
630 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:645:1: warning: extension declares a conformance of imported type 'es_profile_source_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
643 | }
644 |
645 | extension es_profile_source_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_profile_source_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
646 | fileprivate var name: String? {
647 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:658:1: warning: extension declares a conformance of imported type 'es_sudo_plugin_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
656 | }
657 |
658 | extension es_sudo_plugin_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_sudo_plugin_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
659 | fileprivate var name: String? {
660 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:679:1: warning: extension declares a conformance of imported type 'es_authorization_rule_class_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
677 | }
678 |
679 | extension es_authorization_rule_class_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_authorization_rule_class_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
680 | fileprivate var name: String? {
681 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:702:1: warning: extension declares a conformance of imported type 'es_od_account_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
700 | }
701 |
702 | extension es_od_account_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_od_account_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
703 | fileprivate var name: String? {
704 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:715:1: warning: extension declares a conformance of imported type 'es_od_record_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
713 | }
714 |
715 | extension es_od_record_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_od_record_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
716 | fileprivate var name: String? {
717 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESClient - Native/ESNativeTypeDescriptions.swift:728:1: warning: extension declares a conformance of imported type 'es_xpc_domain_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
726 | }
727 |
728 | extension es_xpc_domain_type_t: ESNativeType {
| |- warning: extension declares a conformance of imported type 'es_xpc_domain_type_t' to imported protocols 'CustomStringConvertible', 'Encodable', 'Decodable', 'Hashable'; this will not behave correctly if the owners of 'EndpointSecurity' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
729 | fileprivate var name: String? {
730 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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 {
[76/83] Compiling sEndpointSecurity ESClientProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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 |
[77/83] Compiling sEndpointSecurity ESClientTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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 |
[78/83] Compiling sEndpointSecurity ESNativeTypeUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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)
[79/83] Compiling sEndpointSecurity ESClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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)
[80/83] Compiling sEndpointSecurity ESMessagePtr.swift
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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 |
[81/83] Compiling sEndpointSecurity ESMutePath.swift
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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 |
[82/83] Compiling sEndpointSecurity ESTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESTypes.swift:1790:27: warning: immutable value 'dir' was never used; consider replacing with '_' or removing it
1788 | case .existingFile(let file):
1789 | return file.stat.st_mode
1790 | case .newPath(let dir, let filename, let mode):
| `- warning: immutable value 'dir' was never used; consider replacing with '_' or removing it
1791 | return mode
1792 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESTypes.swift:1790:36: warning: immutable value 'filename' was never used; consider replacing with '_' or removing it
1788 | case .existingFile(let file):
1789 | return file.stat.st_mode
1790 | case .newPath(let dir, let filename, let mode):
| `- warning: immutable value 'filename' was never used; consider replacing with '_' or removing it
1791 | return mode
1792 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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 | }
[83/83] Compiling sEndpointSecurity ESService.swift
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESTypes.swift:1790:27: warning: immutable value 'dir' was never used; consider replacing with '_' or removing it
1788 | case .existingFile(let file):
1789 | return file.stat.st_mode
1790 | case .newPath(let dir, let filename, let mode):
| `- warning: immutable value 'dir' was never used; consider replacing with '_' or removing it
1791 | return mode
1792 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/ESMessage/ESTypes.swift:1790:36: warning: immutable value 'filename' was never used; consider replacing with '_' or removing it
1788 | case .existingFile(let file):
1789 | return file.stat.st_mode
1790 | case .newPath(let dir, let filename, let mode):
| `- warning: immutable value 'filename' was never used; consider replacing with '_' or removing it
1791 | return mode
1792 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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(level: SpellbookLogLevel, message: @autoclosure () -> Any, assert: Bool, file: StaticString, function: StaticString, line: Int)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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/Sources/sEndpointSecurity/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 | }
BUILD FAILURE 6.0 macosSpm