Build Information
Successful build of XcodeMCPKit, reference main (934570), with Swift 6.3 for macOS (SPM) on 20 Nov 2026 21:47:35 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
49 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:48:33: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'associatedAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
49 | try unsafe abi.invoke(symbol: entry, interface: interface,
50 | arguments: [UnsafeMutableRawPointer(request), UnsafeMutableRawPointer(witness), UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(base), UnsafeMutableRawPointer(associated)],
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1104/1142] Compiling XcodeMCPNativeRuntime NativeWorkspaceOpenConfirmation.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:44:24: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
42 | var baseAddress = unsafe baseAddress
43 | var associatedAddress = unsafe associatedAddress
44 | return try withUnsafeMutablePointer(to: &request) { request in
| | | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UInt64>) throws -> NativeMetadataResponse'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
45 | try withUnsafeMutablePointer(to: &witness) { witness in
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:45:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
43 | var associatedAddress = unsafe associatedAddress
44 | return try withUnsafeMutablePointer(to: &request) { request in
45 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:46:25: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
44 | return try withUnsafeMutablePointer(to: &request) { request in
45 | try withUnsafeMutablePointer(to: &witness) { witness in
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:47:29: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
45 | try withUnsafeMutablePointer(to: &witness) { witness in
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'baseAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
49 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:48:33: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'associatedAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
49 | try unsafe abi.invoke(symbol: entry, interface: interface,
50 | arguments: [UnsafeMutableRawPointer(request), UnsafeMutableRawPointer(witness), UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(base), UnsafeMutableRawPointer(associated)],
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1105/1142] Compiling XcodeMCPNativeRuntime NativeWorkspaceRegistry.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:44:24: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
42 | var baseAddress = unsafe baseAddress
43 | var associatedAddress = unsafe associatedAddress
44 | return try withUnsafeMutablePointer(to: &request) { request in
| | | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UInt64>) throws -> NativeMetadataResponse'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
45 | try withUnsafeMutablePointer(to: &witness) { witness in
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:45:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
43 | var associatedAddress = unsafe associatedAddress
44 | return try withUnsafeMutablePointer(to: &request) { request in
45 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:46:25: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
44 | return try withUnsafeMutablePointer(to: &request) { request in
45 | try withUnsafeMutablePointer(to: &witness) { witness in
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:47:29: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
45 | try withUnsafeMutablePointer(to: &witness) { witness in
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'baseAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
49 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:48:33: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'associatedAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
49 | try unsafe abi.invoke(symbol: entry, interface: interface,
50 | arguments: [UnsafeMutableRawPointer(request), UnsafeMutableRawPointer(witness), UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(base), UnsafeMutableRawPointer(associated)],
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1106/1142] Compiling XcodeMCPNativeRuntime NativeWorkspaceScope.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:44:24: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
42 | var baseAddress = unsafe baseAddress
43 | var associatedAddress = unsafe associatedAddress
44 | return try withUnsafeMutablePointer(to: &request) { request in
| | | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UInt64>) throws -> NativeMetadataResponse'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
45 | try withUnsafeMutablePointer(to: &witness) { witness in
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:45:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
43 | var associatedAddress = unsafe associatedAddress
44 | return try withUnsafeMutablePointer(to: &request) { request in
45 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:46:25: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
44 | return try withUnsafeMutablePointer(to: &request) { request in
45 | try withUnsafeMutablePointer(to: &witness) { witness in
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:47:29: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
45 | try withUnsafeMutablePointer(to: &witness) { witness in
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'baseAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
49 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:48:33: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'associatedAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
49 | try unsafe abi.invoke(symbol: entry, interface: interface,
50 | arguments: [UnsafeMutableRawPointer(request), UnsafeMutableRawPointer(witness), UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(base), UnsafeMutableRawPointer(associated)],
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1107/1142] Compiling XcodeMCPNativeRuntime NativeWorkspaceSelections.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:44:24: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
42 | var baseAddress = unsafe baseAddress
43 | var associatedAddress = unsafe associatedAddress
44 | return try withUnsafeMutablePointer(to: &request) { request in
| | | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UInt64>) throws -> NativeMetadataResponse'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
45 | try withUnsafeMutablePointer(to: &witness) { witness in
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:45:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
43 | var associatedAddress = unsafe associatedAddress
44 | return try withUnsafeMutablePointer(to: &request) { request in
45 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:46:25: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
44 | return try withUnsafeMutablePointer(to: &request) { request in
45 | try withUnsafeMutablePointer(to: &witness) { witness in
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:47:29: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
45 | try withUnsafeMutablePointer(to: &witness) { witness in
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'baseAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
49 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeWorkspaceScope.swift:48:33: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
46 | try withUnsafeMutablePointer(to: &metadata) { metadata in
47 | try withUnsafeMutablePointer(to: &baseAddress) { base in
48 | try withUnsafeMutablePointer(to: &associatedAddress) { associated in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> NativeMetadataResponse'
| | | |`- note: reference to var 'associatedAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | |- note: reference to unsafe type 'UnsafeRawPointer'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
49 | try unsafe abi.invoke(symbol: entry, interface: interface,
50 | arguments: [UnsafeMutableRawPointer(request), UnsafeMutableRawPointer(witness), UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(base), UnsafeMutableRawPointer(associated)],
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeABI.swift:62:48: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
60 | let interface = try unsafe callInterface(result: result, parameters: [word])
61 | var request: UInt64 = 0
62 | let response: NativeMetadataResponse = try withUnsafeMutablePointer(to: &request) {
| | | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UInt64>) throws -> NativeMetadataResponse'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 | try unsafe invoke(symbol: accessor, interface: interface,
64 | arguments: [UnsafeMutableRawPointer($0)], returning: NativeMetadataResponse.self)
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeABI.swift:125:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | defer { unsafe output.deallocate() }
124 | let success = unsafe symbol.withUnsafeAddress { address in
125 | arguments.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UnsafeMutableRawPointer?>) -> Bool'
| | |- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UnsafeMutableRawPointer?>'
| | `- note: reference to unsafe type 'UnsafeMutableRawPointer?'
| |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
| |- note: argument 'self' in call to instance method 'withUnsafeBufferPointer' has unsafe type '[UnsafeMutableRawPointer?]'
| `- note: reference to parameter 'arguments' involves unsafe type 'UnsafeMutableRawPointer'
126 | unsafe ABIUnsafeInvokeSwiftCallInterface(interface, ABIUnsafeFunctionAtAddress(address), output, $0.baseAddress, context, &failure)
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:65:24: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 | var metadata = unsafe action.metadata
64 | var witness = unsafe action.conformance
65 | let value: T = try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> T'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
66 | try withUnsafeMutablePointer(to: &witness) { witness in
67 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:66:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
64 | var witness = unsafe action.conformance
65 | let value: T = try withUnsafeMutablePointer(to: &metadata) { metadata in
66 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> T'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
67 | try unsafe abi.invoke(symbol: entry, interface: interface,
68 | arguments: [UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(witness)],
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:95:41: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
93 | var metadata = unsafe action.metadata
94 | var witness = unsafe action.conformance
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
| | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<Data>) throws -> AsyncStream<Data>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
97 | try withUnsafeMutablePointer(to: &witness) { witness in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:96:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
94 | var witness = unsafe action.conformance
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> AsyncStream<Data>'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
97 | try withUnsafeMutablePointer(to: &witness) { witness in
98 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:97:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
97 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> AsyncStream<Data>'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
98 | try unsafe abi.invoke(symbol: entry, interface: interface,
99 | arguments: [UnsafeMutableRawPointer(input), UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(witness)],
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationBootstrap.swift:100:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
98 | loading: .loadedOnly)
99 | var errorAddress: UnsafeRawPointer?
100 | let initialized = try withUnsafeMutablePointer(to: &errorAddress) {
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer?>) throws -> Bool'
| | | |`- note: reference to var 'errorAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer?'
| | `- note: reference to unsafe type 'UnsafeRawPointer?'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | try unsafe initialize.unsafeInvoke(7, UnsafeMutableRawPointer($0))
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:101:51: warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
99 | }
100 | } else { workingDirectory = nil }
101 | return unsafe ProcessSnapshot(executable: String(cString: path),
| `- warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
102 | startedSeconds: Int64(info.kp_proc.p_starttime.tv_sec),
103 | startedMicroseconds: info.kp_proc.p_starttime.tv_usec,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:93:21: warning: no unsafe operations occur within 'unsafe' expression
91 | var path = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
92 | guard unsafe proc_pidpath(pid, &path, UInt32(path.count)) > 0 else { return nil }
93 | var paths = unsafe proc_vnodepathinfo()
| `- warning: no unsafe operations occur within 'unsafe' expression
94 | let pathSize = MemoryLayout<proc_vnodepathinfo>.stride
95 | let workingDirectory: String?
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:98:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
96 | if unsafe proc_pidinfo(pid, PROC_PIDVNODEPATHINFO, 0, &paths, Int32(pathSize)) == pathSize {
97 | workingDirectory = unsafe withUnsafeBytes(of: paths.pvi_cdir.vip_path) {
98 | String(decoding: $0.prefix(while: { $0 != 0 }), as: UTF8.self)
| | | |- note: argument 'decoding' in call to initializer 'init' has unsafe type 'UnsafeRawBufferPointer.SubSequence' (aka 'Slice<UnsafeRawBufferPointer>')
| | | |- note: reference to instance method 'prefix(while:)' involves unsafe type 'UnsafeRawBufferPointer'
| | | |- note: reference to unsafe type 'UnsafeRawBufferPointer'
| | | `- note: '@unsafe' conformance of 'UnsafeRawBufferPointer' to protocol 'Collection' involves unsafe code
| | |- note: argument 'self' in call to instance method 'prefix' has unsafe type 'UnsafeRawBufferPointer'
| | `- note: reference to parameter '$0' involves unsafe type 'UnsafeRawBufferPointer'
| |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
| |- note: reference to initializer 'init(decoding:as:)' involves unsafe type 'UnsafeRawBufferPointer'
| `- note: reference to unsafe type 'UnsafeRawBufferPointer.SubSequence' (aka 'Slice<UnsafeRawBufferPointer>')
99 | }
100 | } else { workingDirectory = nil }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeABI.swift:62:48: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
60 | let interface = try unsafe callInterface(result: result, parameters: [word])
61 | var request: UInt64 = 0
62 | let response: NativeMetadataResponse = try withUnsafeMutablePointer(to: &request) {
| | | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UInt64>) throws -> NativeMetadataResponse'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 | try unsafe invoke(symbol: accessor, interface: interface,
64 | arguments: [UnsafeMutableRawPointer($0)], returning: NativeMetadataResponse.self)
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeABI.swift:125:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | defer { unsafe output.deallocate() }
124 | let success = unsafe symbol.withUnsafeAddress { address in
125 | arguments.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UnsafeMutableRawPointer?>) -> Bool'
| | |- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UnsafeMutableRawPointer?>'
| | `- note: reference to unsafe type 'UnsafeMutableRawPointer?'
| |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
| |- note: argument 'self' in call to instance method 'withUnsafeBufferPointer' has unsafe type '[UnsafeMutableRawPointer?]'
| `- note: reference to parameter 'arguments' involves unsafe type 'UnsafeMutableRawPointer'
126 | unsafe ABIUnsafeInvokeSwiftCallInterface(interface, ABIUnsafeFunctionAtAddress(address), output, $0.baseAddress, context, &failure)
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:65:24: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 | var metadata = unsafe action.metadata
64 | var witness = unsafe action.conformance
65 | let value: T = try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> T'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
66 | try withUnsafeMutablePointer(to: &witness) { witness in
67 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:66:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
64 | var witness = unsafe action.conformance
65 | let value: T = try withUnsafeMutablePointer(to: &metadata) { metadata in
66 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> T'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
67 | try unsafe abi.invoke(symbol: entry, interface: interface,
68 | arguments: [UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(witness)],
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:95:41: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
93 | var metadata = unsafe action.metadata
94 | var witness = unsafe action.conformance
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
| | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<Data>) throws -> AsyncStream<Data>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
97 | try withUnsafeMutablePointer(to: &witness) { witness in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:96:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
94 | var witness = unsafe action.conformance
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> AsyncStream<Data>'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
97 | try withUnsafeMutablePointer(to: &witness) { witness in
98 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:97:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
97 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> AsyncStream<Data>'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
98 | try unsafe abi.invoke(symbol: entry, interface: interface,
99 | arguments: [UnsafeMutableRawPointer(input), UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(witness)],
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationBootstrap.swift:100:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
98 | loading: .loadedOnly)
99 | var errorAddress: UnsafeRawPointer?
100 | let initialized = try withUnsafeMutablePointer(to: &errorAddress) {
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer?>) throws -> Bool'
| | | |`- note: reference to var 'errorAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer?'
| | `- note: reference to unsafe type 'UnsafeRawPointer?'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | try unsafe initialize.unsafeInvoke(7, UnsafeMutableRawPointer($0))
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:101:51: warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
99 | }
100 | } else { workingDirectory = nil }
101 | return unsafe ProcessSnapshot(executable: String(cString: path),
| `- warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
102 | startedSeconds: Int64(info.kp_proc.p_starttime.tv_sec),
103 | startedMicroseconds: info.kp_proc.p_starttime.tv_usec,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:93:21: warning: no unsafe operations occur within 'unsafe' expression
91 | var path = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
92 | guard unsafe proc_pidpath(pid, &path, UInt32(path.count)) > 0 else { return nil }
93 | var paths = unsafe proc_vnodepathinfo()
| `- warning: no unsafe operations occur within 'unsafe' expression
94 | let pathSize = MemoryLayout<proc_vnodepathinfo>.stride
95 | let workingDirectory: String?
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:98:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
96 | if unsafe proc_pidinfo(pid, PROC_PIDVNODEPATHINFO, 0, &paths, Int32(pathSize)) == pathSize {
97 | workingDirectory = unsafe withUnsafeBytes(of: paths.pvi_cdir.vip_path) {
98 | String(decoding: $0.prefix(while: { $0 != 0 }), as: UTF8.self)
| | | |- note: argument 'decoding' in call to initializer 'init' has unsafe type 'UnsafeRawBufferPointer.SubSequence' (aka 'Slice<UnsafeRawBufferPointer>')
| | | |- note: reference to instance method 'prefix(while:)' involves unsafe type 'UnsafeRawBufferPointer'
| | | |- note: reference to unsafe type 'UnsafeRawBufferPointer'
| | | `- note: '@unsafe' conformance of 'UnsafeRawBufferPointer' to protocol 'Collection' involves unsafe code
| | |- note: argument 'self' in call to instance method 'prefix' has unsafe type 'UnsafeRawBufferPointer'
| | `- note: reference to parameter '$0' involves unsafe type 'UnsafeRawBufferPointer'
| |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
| |- note: reference to initializer 'init(decoding:as:)' involves unsafe type 'UnsafeRawBufferPointer'
| `- note: reference to unsafe type 'UnsafeRawBufferPointer.SubSequence' (aka 'Slice<UnsafeRawBufferPointer>')
99 | }
100 | } else { workingDirectory = nil }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeABI.swift:62:48: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
60 | let interface = try unsafe callInterface(result: result, parameters: [word])
61 | var request: UInt64 = 0
62 | let response: NativeMetadataResponse = try withUnsafeMutablePointer(to: &request) {
| | | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UInt64>) throws -> NativeMetadataResponse'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 | try unsafe invoke(symbol: accessor, interface: interface,
64 | arguments: [UnsafeMutableRawPointer($0)], returning: NativeMetadataResponse.self)
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeABI.swift:125:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | defer { unsafe output.deallocate() }
124 | let success = unsafe symbol.withUnsafeAddress { address in
125 | arguments.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UnsafeMutableRawPointer?>) -> Bool'
| | |- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UnsafeMutableRawPointer?>'
| | `- note: reference to unsafe type 'UnsafeMutableRawPointer?'
| |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
| |- note: argument 'self' in call to instance method 'withUnsafeBufferPointer' has unsafe type '[UnsafeMutableRawPointer?]'
| `- note: reference to parameter 'arguments' involves unsafe type 'UnsafeMutableRawPointer'
126 | unsafe ABIUnsafeInvokeSwiftCallInterface(interface, ABIUnsafeFunctionAtAddress(address), output, $0.baseAddress, context, &failure)
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:65:24: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 | var metadata = unsafe action.metadata
64 | var witness = unsafe action.conformance
65 | let value: T = try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> T'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
66 | try withUnsafeMutablePointer(to: &witness) { witness in
67 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:66:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
64 | var witness = unsafe action.conformance
65 | let value: T = try withUnsafeMutablePointer(to: &metadata) { metadata in
66 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> T'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
67 | try unsafe abi.invoke(symbol: entry, interface: interface,
68 | arguments: [UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(witness)],
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:95:41: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
93 | var metadata = unsafe action.metadata
94 | var witness = unsafe action.conformance
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
| | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<Data>) throws -> AsyncStream<Data>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
97 | try withUnsafeMutablePointer(to: &witness) { witness in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:96:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
94 | var witness = unsafe action.conformance
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> AsyncStream<Data>'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
97 | try withUnsafeMutablePointer(to: &witness) { witness in
98 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:97:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
97 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> AsyncStream<Data>'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
98 | try unsafe abi.invoke(symbol: entry, interface: interface,
99 | arguments: [UnsafeMutableRawPointer(input), UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(witness)],
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationBootstrap.swift:100:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
98 | loading: .loadedOnly)
99 | var errorAddress: UnsafeRawPointer?
100 | let initialized = try withUnsafeMutablePointer(to: &errorAddress) {
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer?>) throws -> Bool'
| | | |`- note: reference to var 'errorAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer?'
| | `- note: reference to unsafe type 'UnsafeRawPointer?'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | try unsafe initialize.unsafeInvoke(7, UnsafeMutableRawPointer($0))
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:101:51: warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
99 | }
100 | } else { workingDirectory = nil }
101 | return unsafe ProcessSnapshot(executable: String(cString: path),
| `- warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
102 | startedSeconds: Int64(info.kp_proc.p_starttime.tv_sec),
103 | startedMicroseconds: info.kp_proc.p_starttime.tv_usec,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:93:21: warning: no unsafe operations occur within 'unsafe' expression
91 | var path = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
92 | guard unsafe proc_pidpath(pid, &path, UInt32(path.count)) > 0 else { return nil }
93 | var paths = unsafe proc_vnodepathinfo()
| `- warning: no unsafe operations occur within 'unsafe' expression
94 | let pathSize = MemoryLayout<proc_vnodepathinfo>.stride
95 | let workingDirectory: String?
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:98:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
96 | if unsafe proc_pidinfo(pid, PROC_PIDVNODEPATHINFO, 0, &paths, Int32(pathSize)) == pathSize {
97 | workingDirectory = unsafe withUnsafeBytes(of: paths.pvi_cdir.vip_path) {
98 | String(decoding: $0.prefix(while: { $0 != 0 }), as: UTF8.self)
| | | |- note: argument 'decoding' in call to initializer 'init' has unsafe type 'UnsafeRawBufferPointer.SubSequence' (aka 'Slice<UnsafeRawBufferPointer>')
| | | |- note: reference to instance method 'prefix(while:)' involves unsafe type 'UnsafeRawBufferPointer'
| | | |- note: reference to unsafe type 'UnsafeRawBufferPointer'
| | | `- note: '@unsafe' conformance of 'UnsafeRawBufferPointer' to protocol 'Collection' involves unsafe code
| | |- note: argument 'self' in call to instance method 'prefix' has unsafe type 'UnsafeRawBufferPointer'
| | `- note: reference to parameter '$0' involves unsafe type 'UnsafeRawBufferPointer'
| |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
| |- note: reference to initializer 'init(decoding:as:)' involves unsafe type 'UnsafeRawBufferPointer'
| `- note: reference to unsafe type 'UnsafeRawBufferPointer.SubSequence' (aka 'Slice<UnsafeRawBufferPointer>')
99 | }
100 | } else { workingDirectory = nil }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeABI.swift:62:48: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
60 | let interface = try unsafe callInterface(result: result, parameters: [word])
61 | var request: UInt64 = 0
62 | let response: NativeMetadataResponse = try withUnsafeMutablePointer(to: &request) {
| | | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UInt64>) throws -> NativeMetadataResponse'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 | try unsafe invoke(symbol: accessor, interface: interface,
64 | arguments: [UnsafeMutableRawPointer($0)], returning: NativeMetadataResponse.self)
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeABI.swift:125:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | defer { unsafe output.deallocate() }
124 | let success = unsafe symbol.withUnsafeAddress { address in
125 | arguments.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UnsafeMutableRawPointer?>) -> Bool'
| | |- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UnsafeMutableRawPointer?>'
| | `- note: reference to unsafe type 'UnsafeMutableRawPointer?'
| |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
| |- note: argument 'self' in call to instance method 'withUnsafeBufferPointer' has unsafe type '[UnsafeMutableRawPointer?]'
| `- note: reference to parameter 'arguments' involves unsafe type 'UnsafeMutableRawPointer'
126 | unsafe ABIUnsafeInvokeSwiftCallInterface(interface, ABIUnsafeFunctionAtAddress(address), output, $0.baseAddress, context, &failure)
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:65:24: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 | var metadata = unsafe action.metadata
64 | var witness = unsafe action.conformance
65 | let value: T = try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> T'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
66 | try withUnsafeMutablePointer(to: &witness) { witness in
67 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:66:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
64 | var witness = unsafe action.conformance
65 | let value: T = try withUnsafeMutablePointer(to: &metadata) { metadata in
66 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> T'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
67 | try unsafe abi.invoke(symbol: entry, interface: interface,
68 | arguments: [UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(witness)],
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:95:41: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
93 | var metadata = unsafe action.metadata
94 | var witness = unsafe action.conformance
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
| | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<Data>) throws -> AsyncStream<Data>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
97 | try withUnsafeMutablePointer(to: &witness) { witness in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:96:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
94 | var witness = unsafe action.conformance
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> AsyncStream<Data>'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
97 | try withUnsafeMutablePointer(to: &witness) { witness in
98 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:97:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
97 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> AsyncStream<Data>'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
98 | try unsafe abi.invoke(symbol: entry, interface: interface,
99 | arguments: [UnsafeMutableRawPointer(input), UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(witness)],
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationBootstrap.swift:100:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
98 | loading: .loadedOnly)
99 | var errorAddress: UnsafeRawPointer?
100 | let initialized = try withUnsafeMutablePointer(to: &errorAddress) {
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer?>) throws -> Bool'
| | | |`- note: reference to var 'errorAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer?'
| | `- note: reference to unsafe type 'UnsafeRawPointer?'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | try unsafe initialize.unsafeInvoke(7, UnsafeMutableRawPointer($0))
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:101:51: warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
99 | }
100 | } else { workingDirectory = nil }
101 | return unsafe ProcessSnapshot(executable: String(cString: path),
| `- warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
102 | startedSeconds: Int64(info.kp_proc.p_starttime.tv_sec),
103 | startedMicroseconds: info.kp_proc.p_starttime.tv_usec,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:93:21: warning: no unsafe operations occur within 'unsafe' expression
91 | var path = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
92 | guard unsafe proc_pidpath(pid, &path, UInt32(path.count)) > 0 else { return nil }
93 | var paths = unsafe proc_vnodepathinfo()
| `- warning: no unsafe operations occur within 'unsafe' expression
94 | let pathSize = MemoryLayout<proc_vnodepathinfo>.stride
95 | let workingDirectory: String?
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:98:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
96 | if unsafe proc_pidinfo(pid, PROC_PIDVNODEPATHINFO, 0, &paths, Int32(pathSize)) == pathSize {
97 | workingDirectory = unsafe withUnsafeBytes(of: paths.pvi_cdir.vip_path) {
98 | String(decoding: $0.prefix(while: { $0 != 0 }), as: UTF8.self)
| | | |- note: argument 'decoding' in call to initializer 'init' has unsafe type 'UnsafeRawBufferPointer.SubSequence' (aka 'Slice<UnsafeRawBufferPointer>')
| | | |- note: reference to instance method 'prefix(while:)' involves unsafe type 'UnsafeRawBufferPointer'
| | | |- note: reference to unsafe type 'UnsafeRawBufferPointer'
| | | `- note: '@unsafe' conformance of 'UnsafeRawBufferPointer' to protocol 'Collection' involves unsafe code
| | |- note: argument 'self' in call to instance method 'prefix' has unsafe type 'UnsafeRawBufferPointer'
| | `- note: reference to parameter '$0' involves unsafe type 'UnsafeRawBufferPointer'
| |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
| |- note: reference to initializer 'init(decoding:as:)' involves unsafe type 'UnsafeRawBufferPointer'
| `- note: reference to unsafe type 'UnsafeRawBufferPointer.SubSequence' (aka 'Slice<UnsafeRawBufferPointer>')
99 | }
100 | } else { workingDirectory = nil }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeABI.swift:62:48: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
60 | let interface = try unsafe callInterface(result: result, parameters: [word])
61 | var request: UInt64 = 0
62 | let response: NativeMetadataResponse = try withUnsafeMutablePointer(to: &request) {
| | | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UInt64>) throws -> NativeMetadataResponse'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 | try unsafe invoke(symbol: accessor, interface: interface,
64 | arguments: [UnsafeMutableRawPointer($0)], returning: NativeMetadataResponse.self)
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeABI.swift:125:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | defer { unsafe output.deallocate() }
124 | let success = unsafe symbol.withUnsafeAddress { address in
125 | arguments.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UnsafeMutableRawPointer?>) -> Bool'
| | |- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UnsafeMutableRawPointer?>'
| | `- note: reference to unsafe type 'UnsafeMutableRawPointer?'
| |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
| |- note: argument 'self' in call to instance method 'withUnsafeBufferPointer' has unsafe type '[UnsafeMutableRawPointer?]'
| `- note: reference to parameter 'arguments' involves unsafe type 'UnsafeMutableRawPointer'
126 | unsafe ABIUnsafeInvokeSwiftCallInterface(interface, ABIUnsafeFunctionAtAddress(address), output, $0.baseAddress, context, &failure)
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:65:24: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 | var metadata = unsafe action.metadata
64 | var witness = unsafe action.conformance
65 | let value: T = try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> T'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
66 | try withUnsafeMutablePointer(to: &witness) { witness in
67 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:66:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
64 | var witness = unsafe action.conformance
65 | let value: T = try withUnsafeMutablePointer(to: &metadata) { metadata in
66 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> T'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
67 | try unsafe abi.invoke(symbol: entry, interface: interface,
68 | arguments: [UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(witness)],
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:95:41: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
93 | var metadata = unsafe action.metadata
94 | var witness = unsafe action.conformance
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
| | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<Data>) throws -> AsyncStream<Data>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
97 | try withUnsafeMutablePointer(to: &witness) { witness in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:96:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
94 | var witness = unsafe action.conformance
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> AsyncStream<Data>'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
97 | try withUnsafeMutablePointer(to: &witness) { witness in
98 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:97:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
97 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> AsyncStream<Data>'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
98 | try unsafe abi.invoke(symbol: entry, interface: interface,
99 | arguments: [UnsafeMutableRawPointer(input), UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(witness)],
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationBootstrap.swift:100:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
98 | loading: .loadedOnly)
99 | var errorAddress: UnsafeRawPointer?
100 | let initialized = try withUnsafeMutablePointer(to: &errorAddress) {
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer?>) throws -> Bool'
| | | |`- note: reference to var 'errorAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer?'
| | `- note: reference to unsafe type 'UnsafeRawPointer?'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | try unsafe initialize.unsafeInvoke(7, UnsafeMutableRawPointer($0))
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:101:51: warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
99 | }
100 | } else { workingDirectory = nil }
101 | return unsafe ProcessSnapshot(executable: String(cString: path),
| `- warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
102 | startedSeconds: Int64(info.kp_proc.p_starttime.tv_sec),
103 | startedMicroseconds: info.kp_proc.p_starttime.tv_usec,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:93:21: warning: no unsafe operations occur within 'unsafe' expression
91 | var path = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
92 | guard unsafe proc_pidpath(pid, &path, UInt32(path.count)) > 0 else { return nil }
93 | var paths = unsafe proc_vnodepathinfo()
| `- warning: no unsafe operations occur within 'unsafe' expression
94 | let pathSize = MemoryLayout<proc_vnodepathinfo>.stride
95 | let workingDirectory: String?
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:98:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
96 | if unsafe proc_pidinfo(pid, PROC_PIDVNODEPATHINFO, 0, &paths, Int32(pathSize)) == pathSize {
97 | workingDirectory = unsafe withUnsafeBytes(of: paths.pvi_cdir.vip_path) {
98 | String(decoding: $0.prefix(while: { $0 != 0 }), as: UTF8.self)
| | | |- note: argument 'decoding' in call to initializer 'init' has unsafe type 'UnsafeRawBufferPointer.SubSequence' (aka 'Slice<UnsafeRawBufferPointer>')
| | | |- note: reference to instance method 'prefix(while:)' involves unsafe type 'UnsafeRawBufferPointer'
| | | |- note: reference to unsafe type 'UnsafeRawBufferPointer'
| | | `- note: '@unsafe' conformance of 'UnsafeRawBufferPointer' to protocol 'Collection' involves unsafe code
| | |- note: argument 'self' in call to instance method 'prefix' has unsafe type 'UnsafeRawBufferPointer'
| | `- note: reference to parameter '$0' involves unsafe type 'UnsafeRawBufferPointer'
| |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
| |- note: reference to initializer 'init(decoding:as:)' involves unsafe type 'UnsafeRawBufferPointer'
| `- note: reference to unsafe type 'UnsafeRawBufferPointer.SubSequence' (aka 'Slice<UnsafeRawBufferPointer>')
99 | }
100 | } else { workingDirectory = nil }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeABI.swift:62:48: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
60 | let interface = try unsafe callInterface(result: result, parameters: [word])
61 | var request: UInt64 = 0
62 | let response: NativeMetadataResponse = try withUnsafeMutablePointer(to: &request) {
| | | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UInt64>) throws -> NativeMetadataResponse'
| | |- note: reference to global function 'withUnsafeMutablePointer(to:_:)' involves unsafe type 'NativeMetadataResponse'
| | `- note: reference to unsafe type 'NativeMetadataResponse'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 | try unsafe invoke(symbol: accessor, interface: interface,
64 | arguments: [UnsafeMutableRawPointer($0)], returning: NativeMetadataResponse.self)
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeABI.swift:125:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | defer { unsafe output.deallocate() }
124 | let success = unsafe symbol.withUnsafeAddress { address in
125 | arguments.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UnsafeMutableRawPointer?>) -> Bool'
| | |- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UnsafeMutableRawPointer?>'
| | `- note: reference to unsafe type 'UnsafeMutableRawPointer?'
| |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
| |- note: argument 'self' in call to instance method 'withUnsafeBufferPointer' has unsafe type '[UnsafeMutableRawPointer?]'
| `- note: reference to parameter 'arguments' involves unsafe type 'UnsafeMutableRawPointer'
126 | unsafe ABIUnsafeInvokeSwiftCallInterface(interface, ABIUnsafeFunctionAtAddress(address), output, $0.baseAddress, context, &failure)
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:65:24: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 | var metadata = unsafe action.metadata
64 | var witness = unsafe action.conformance
65 | let value: T = try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> T'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
66 | try withUnsafeMutablePointer(to: &witness) { witness in
67 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:66:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
64 | var witness = unsafe action.conformance
65 | let value: T = try withUnsafeMutablePointer(to: &metadata) { metadata in
66 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> T'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
67 | try unsafe abi.invoke(symbol: entry, interface: interface,
68 | arguments: [UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(witness)],
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:95:41: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
93 | var metadata = unsafe action.metadata
94 | var witness = unsafe action.conformance
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
| | `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<Data>) throws -> AsyncStream<Data>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
97 | try withUnsafeMutablePointer(to: &witness) { witness in
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:96:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
94 | var witness = unsafe action.conformance
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> AsyncStream<Data>'
| | | |`- note: reference to var 'metadata' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
97 | try withUnsafeMutablePointer(to: &witness) { witness in
98 | try unsafe abi.invoke(symbol: entry, interface: interface,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeActionBridge.swift:97:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
95 | let stream: AsyncStream<Data> = try withUnsafeMutablePointer(to: &input) { input in
96 | try withUnsafeMutablePointer(to: &metadata) { metadata in
97 | try withUnsafeMutablePointer(to: &witness) { witness in
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer>) throws -> AsyncStream<Data>'
| | | |`- note: reference to var 'witness' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer'
| | `- note: reference to unsafe type 'UnsafeRawPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
98 | try unsafe abi.invoke(symbol: entry, interface: interface,
99 | arguments: [UnsafeMutableRawPointer(input), UnsafeMutableRawPointer(metadata), UnsafeMutableRawPointer(witness)],
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationBootstrap.swift:100:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
98 | loading: .loadedOnly)
99 | var errorAddress: UnsafeRawPointer?
100 | let initialized = try withUnsafeMutablePointer(to: &errorAddress) {
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer?>) throws -> Bool'
| | | |`- note: reference to var 'errorAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer?'
| | `- note: reference to unsafe type 'UnsafeRawPointer?'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | try unsafe initialize.unsafeInvoke(7, UnsafeMutableRawPointer($0))
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:101:51: warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
99 | }
100 | } else { workingDirectory = nil }
101 | return unsafe ProcessSnapshot(executable: String(cString: path),
| `- warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
102 | startedSeconds: Int64(info.kp_proc.p_starttime.tv_sec),
103 | startedMicroseconds: info.kp_proc.p_starttime.tv_usec,
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:93:21: warning: no unsafe operations occur within 'unsafe' expression
91 | var path = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
92 | guard unsafe proc_pidpath(pid, &path, UInt32(path.count)) > 0 else { return nil }
93 | var paths = unsafe proc_vnodepathinfo()
| `- warning: no unsafe operations occur within 'unsafe' expression
94 | let pathSize = MemoryLayout<proc_vnodepathinfo>.stride
95 | let workingDirectory: String?
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeApplicationLaunch.swift:98:17: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
96 | if unsafe proc_pidinfo(pid, PROC_PIDVNODEPATHINFO, 0, &paths, Int32(pathSize)) == pathSize {
97 | workingDirectory = unsafe withUnsafeBytes(of: paths.pvi_cdir.vip_path) {
98 | String(decoding: $0.prefix(while: { $0 != 0 }), as: UTF8.self)
| | | |- note: argument 'decoding' in call to initializer 'init' has unsafe type 'UnsafeRawBufferPointer.SubSequence' (aka 'Slice<UnsafeRawBufferPointer>')
| | | |- note: reference to instance method 'prefix(while:)' involves unsafe type 'UnsafeRawBufferPointer'
| | | |- note: reference to unsafe type 'UnsafeRawBufferPointer'
| | | `- note: '@unsafe' conformance of 'UnsafeRawBufferPointer' to protocol 'Collection' involves unsafe code
| | |- note: argument 'self' in call to instance method 'prefix' has unsafe type 'UnsafeRawBufferPointer'
| | `- note: reference to parameter '$0' involves unsafe type 'UnsafeRawBufferPointer'
| |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
| |- note: reference to initializer 'init(decoding:as:)' involves unsafe type 'UnsafeRawBufferPointer'
| `- note: reference to unsafe type 'UnsafeRawBufferPointer.SubSequence' (aka 'Slice<UnsafeRawBufferPointer>')
99 | }
100 | } else { workingDirectory = nil }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1114/1142] Compiling XcodeMCPNativeRuntime NativeCrashQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeCrashSyncJobs.swift:347:24: warning: no unsafe operations occur within 'unsafe' expression
345 |
346 | private func write(_ record: [String: JSONValue], to folder: URL) throws {
347 | let data = try unsafe JSONSerialization.data(withJSONObject: record.mapValues(\.foundationObject), options: [.sortedKeys])
| `- warning: no unsafe operations occur within 'unsafe' expression
348 | try data.write(to: folder.appending(component: "job.json"), options: .atomic)
349 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeCrashSyncStore.swift:779:30: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
777 | switch value {
778 | case .text(let string):
779 | result = string.withCString { value in
| | | `- note: argument #0 in call to instance method 'withCString' has unsafe type '(UnsafePointer<Int8>) throws -> Int32'
| | `- note: reference to instance method 'withCString' involves unsafe type 'UnsafePointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
780 | unsafe sqlite3_bind_text(statement, index, value, -1, unsafeBitCast(-1, to: sqlite3_destructor_type.self))
781 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeErrorPresentation.swift:55:35: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
53 | subclass = existing
54 | } else {
55 | guard let allocated = name.withCString({ unsafe objc_allocateClassPair(original, $0, 0) }) else {
| | | `- note: argument #0 in call to instance method 'withCString' has unsafe type '(UnsafePointer<Int8>) throws -> AnyClass?' (aka '(UnsafePointer<Int8>) throws -> Optional<any AnyObject.Type>')
| | `- note: reference to instance method 'withCString' involves unsafe type 'UnsafePointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
56 | throw NativeRuntimeError.unavailable("Cannot create the noninteractive native application class")
57 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1115/1142] Compiling XcodeMCPNativeRuntime NativeCrashSyncJobs.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeCrashSyncJobs.swift:347:24: warning: no unsafe operations occur within 'unsafe' expression
345 |
346 | private func write(_ record: [String: JSONValue], to folder: URL) throws {
347 | let data = try unsafe JSONSerialization.data(withJSONObject: record.mapValues(\.foundationObject), options: [.sortedKeys])
| `- warning: no unsafe operations occur within 'unsafe' expression
348 | try data.write(to: folder.appending(component: "job.json"), options: .atomic)
349 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeCrashSyncStore.swift:779:30: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
777 | switch value {
778 | case .text(let string):
779 | result = string.withCString { value in
| | | `- note: argument #0 in call to instance method 'withCString' has unsafe type '(UnsafePointer<Int8>) throws -> Int32'
| | `- note: reference to instance method 'withCString' involves unsafe type 'UnsafePointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
780 | unsafe sqlite3_bind_text(statement, index, value, -1, unsafeBitCast(-1, to: sqlite3_destructor_type.self))
781 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeErrorPresentation.swift:55:35: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
53 | subclass = existing
54 | } else {
55 | guard let allocated = name.withCString({ unsafe objc_allocateClassPair(original, $0, 0) }) else {
| | | `- note: argument #0 in call to instance method 'withCString' has unsafe type '(UnsafePointer<Int8>) throws -> AnyClass?' (aka '(UnsafePointer<Int8>) throws -> Optional<any AnyObject.Type>')
| | `- note: reference to instance method 'withCString' involves unsafe type 'UnsafePointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
56 | throw NativeRuntimeError.unavailable("Cannot create the noninteractive native application class")
57 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1116/1142] Compiling XcodeMCPNativeRuntime NativeCrashSyncStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeCrashSyncJobs.swift:347:24: warning: no unsafe operations occur within 'unsafe' expression
345 |
346 | private func write(_ record: [String: JSONValue], to folder: URL) throws {
347 | let data = try unsafe JSONSerialization.data(withJSONObject: record.mapValues(\.foundationObject), options: [.sortedKeys])
| `- warning: no unsafe operations occur within 'unsafe' expression
348 | try data.write(to: folder.appending(component: "job.json"), options: .atomic)
349 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeCrashSyncStore.swift:779:30: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
777 | switch value {
778 | case .text(let string):
779 | result = string.withCString { value in
| | | `- note: argument #0 in call to instance method 'withCString' has unsafe type '(UnsafePointer<Int8>) throws -> Int32'
| | `- note: reference to instance method 'withCString' involves unsafe type 'UnsafePointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
780 | unsafe sqlite3_bind_text(statement, index, value, -1, unsafeBitCast(-1, to: sqlite3_destructor_type.self))
781 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeErrorPresentation.swift:55:35: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
53 | subclass = existing
54 | } else {
55 | guard let allocated = name.withCString({ unsafe objc_allocateClassPair(original, $0, 0) }) else {
| | | `- note: argument #0 in call to instance method 'withCString' has unsafe type '(UnsafePointer<Int8>) throws -> AnyClass?' (aka '(UnsafePointer<Int8>) throws -> Optional<any AnyObject.Type>')
| | `- note: reference to instance method 'withCString' involves unsafe type 'UnsafePointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
56 | throw NativeRuntimeError.unavailable("Cannot create the noninteractive native application class")
57 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1117/1142] Compiling XcodeMCPNativeRuntime NativeCrashTools.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeCrashSyncJobs.swift:347:24: warning: no unsafe operations occur within 'unsafe' expression
345 |
346 | private func write(_ record: [String: JSONValue], to folder: URL) throws {
347 | let data = try unsafe JSONSerialization.data(withJSONObject: record.mapValues(\.foundationObject), options: [.sortedKeys])
| `- warning: no unsafe operations occur within 'unsafe' expression
348 | try data.write(to: folder.appending(component: "job.json"), options: .atomic)
349 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeCrashSyncStore.swift:779:30: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
777 | switch value {
778 | case .text(let string):
779 | result = string.withCString { value in
| | | `- note: argument #0 in call to instance method 'withCString' has unsafe type '(UnsafePointer<Int8>) throws -> Int32'
| | `- note: reference to instance method 'withCString' involves unsafe type 'UnsafePointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
780 | unsafe sqlite3_bind_text(statement, index, value, -1, unsafeBitCast(-1, to: sqlite3_destructor_type.self))
781 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeErrorPresentation.swift:55:35: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
53 | subclass = existing
54 | } else {
55 | guard let allocated = name.withCString({ unsafe objc_allocateClassPair(original, $0, 0) }) else {
| | | `- note: argument #0 in call to instance method 'withCString' has unsafe type '(UnsafePointer<Int8>) throws -> AnyClass?' (aka '(UnsafePointer<Int8>) throws -> Optional<any AnyObject.Type>')
| | `- note: reference to instance method 'withCString' involves unsafe type 'UnsafePointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
56 | throw NativeRuntimeError.unavailable("Cannot create the noninteractive native application class")
57 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1118/1142] Compiling XcodeMCPNativeRuntime NativeDocumentationSearchAsset.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeCrashSyncJobs.swift:347:24: warning: no unsafe operations occur within 'unsafe' expression
345 |
346 | private func write(_ record: [String: JSONValue], to folder: URL) throws {
347 | let data = try unsafe JSONSerialization.data(withJSONObject: record.mapValues(\.foundationObject), options: [.sortedKeys])
| `- warning: no unsafe operations occur within 'unsafe' expression
348 | try data.write(to: folder.appending(component: "job.json"), options: .atomic)
349 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeCrashSyncStore.swift:779:30: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
777 | switch value {
778 | case .text(let string):
779 | result = string.withCString { value in
| | | `- note: argument #0 in call to instance method 'withCString' has unsafe type '(UnsafePointer<Int8>) throws -> Int32'
| | `- note: reference to instance method 'withCString' involves unsafe type 'UnsafePointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
780 | unsafe sqlite3_bind_text(statement, index, value, -1, unsafeBitCast(-1, to: sqlite3_destructor_type.self))
781 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeErrorPresentation.swift:55:35: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
53 | subclass = existing
54 | } else {
55 | guard let allocated = name.withCString({ unsafe objc_allocateClassPair(original, $0, 0) }) else {
| | | `- note: argument #0 in call to instance method 'withCString' has unsafe type '(UnsafePointer<Int8>) throws -> AnyClass?' (aka '(UnsafePointer<Int8>) throws -> Optional<any AnyObject.Type>')
| | `- note: reference to instance method 'withCString' involves unsafe type 'UnsafePointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
56 | throw NativeRuntimeError.unavailable("Cannot create the noninteractive native application class")
57 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1119/1142] Compiling XcodeMCPNativeRuntime NativeErrorPresentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeCrashSyncJobs.swift:347:24: warning: no unsafe operations occur within 'unsafe' expression
345 |
346 | private func write(_ record: [String: JSONValue], to folder: URL) throws {
347 | let data = try unsafe JSONSerialization.data(withJSONObject: record.mapValues(\.foundationObject), options: [.sortedKeys])
| `- warning: no unsafe operations occur within 'unsafe' expression
348 | try data.write(to: folder.appending(component: "job.json"), options: .atomic)
349 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeCrashSyncStore.swift:779:30: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
777 | switch value {
778 | case .text(let string):
779 | result = string.withCString { value in
| | | `- note: argument #0 in call to instance method 'withCString' has unsafe type '(UnsafePointer<Int8>) throws -> Int32'
| | `- note: reference to instance method 'withCString' involves unsafe type 'UnsafePointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
780 | unsafe sqlite3_bind_text(statement, index, value, -1, unsafeBitCast(-1, to: sqlite3_destructor_type.self))
781 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativeErrorPresentation.swift:55:35: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
53 | subclass = existing
54 | } else {
55 | guard let allocated = name.withCString({ unsafe objc_allocateClassPair(original, $0, 0) }) else {
| | | `- note: argument #0 in call to instance method 'withCString' has unsafe type '(UnsafePointer<Int8>) throws -> AnyClass?' (aka '(UnsafePointer<Int8>) throws -> Optional<any AnyObject.Type>')
| | `- note: reference to instance method 'withCString' involves unsafe type 'UnsafePointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
56 | throw NativeRuntimeError.unavailable("Cannot create the noninteractive native application class")
57 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1120/1142] Compiling XcodeMCPNativeRuntime NativeExecutionOperations.swift
[1121/1142] Compiling XcodeMCPNativeRuntime NativeExecutionQueue.swift
[1122/1142] Compiling XcodeMCPNativeRuntime NativeHostDiagnostic.swift
[1123/1142] Compiling XcodeMCPNativeRuntime NativeHostEnvironment.swift
[1124/1142] Compiling XcodeMCPNativeRuntime NativeLaunchOwnership.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewBuild.swift:931:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
929 | as: ((NSMutableDictionary, AnyObject, AnyObject, Bool, Bool, AnyObject?, UnsafeMutableRawPointer?) -> Bool).self)))
930 | var errorAddress: UnsafeRawPointer?
931 | let success = try withUnsafeMutablePointer(to: &errorAddress) {
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer?>) throws -> Bool'
| | | |`- note: reference to var 'errorAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer?'
| | `- note: reference to unsafe type 'UnsafeRawPointer?'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
932 | try unsafe add.unsafeInvoke(environment, buildParameters, buildable, false, false, nil, UnsafeMutableRawPointer($0))
933 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1131/1142] Compiling XcodeMCPNativeRuntime NativeOrganizerCrashService.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewBuild.swift:931:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
929 | as: ((NSMutableDictionary, AnyObject, AnyObject, Bool, Bool, AnyObject?, UnsafeMutableRawPointer?) -> Bool).self)))
930 | var errorAddress: UnsafeRawPointer?
931 | let success = try withUnsafeMutablePointer(to: &errorAddress) {
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer?>) throws -> Bool'
| | | |`- note: reference to var 'errorAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer?'
| | `- note: reference to unsafe type 'UnsafeRawPointer?'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
932 | try unsafe add.unsafeInvoke(environment, buildParameters, buildable, false, false, nil, UnsafeMutableRawPointer($0))
933 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1132/1142] Compiling XcodeMCPNativeRuntime NativePreviewBinary.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewBuild.swift:931:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
929 | as: ((NSMutableDictionary, AnyObject, AnyObject, Bool, Bool, AnyObject?, UnsafeMutableRawPointer?) -> Bool).self)))
930 | var errorAddress: UnsafeRawPointer?
931 | let success = try withUnsafeMutablePointer(to: &errorAddress) {
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer?>) throws -> Bool'
| | | |`- note: reference to var 'errorAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer?'
| | `- note: reference to unsafe type 'UnsafeRawPointer?'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
932 | try unsafe add.unsafeInvoke(environment, buildParameters, buildable, false, false, nil, UnsafeMutableRawPointer($0))
933 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1133/1142] Compiling XcodeMCPNativeRuntime NativePreviewBuild.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewBuild.swift:931:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
929 | as: ((NSMutableDictionary, AnyObject, AnyObject, Bool, Bool, AnyObject?, UnsafeMutableRawPointer?) -> Bool).self)))
930 | var errorAddress: UnsafeRawPointer?
931 | let success = try withUnsafeMutablePointer(to: &errorAddress) {
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer?>) throws -> Bool'
| | | |`- note: reference to var 'errorAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer?'
| | `- note: reference to unsafe type 'UnsafeRawPointer?'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
932 | try unsafe add.unsafeInvoke(environment, buildParameters, buildable, false, false, nil, UnsafeMutableRawPointer($0))
933 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1134/1142] Compiling XcodeMCPNativeRuntime NativePreviewBuildInputs.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewBuild.swift:931:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
929 | as: ((NSMutableDictionary, AnyObject, AnyObject, Bool, Bool, AnyObject?, UnsafeMutableRawPointer?) -> Bool).self)))
930 | var errorAddress: UnsafeRawPointer?
931 | let success = try withUnsafeMutablePointer(to: &errorAddress) {
| | | || `- note: argument #1 in call to global function 'withUnsafeMutablePointer' has unsafe type '(UnsafeMutablePointer<UnsafeRawPointer?>) throws -> Bool'
| | | |`- note: reference to var 'errorAddress' involves unsafe type 'UnsafeRawPointer'
| | | `- note: argument 'to' in call to global function 'withUnsafeMutablePointer' has unsafe type 'inout UnsafeRawPointer?'
| | `- note: reference to unsafe type 'UnsafeRawPointer?'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
932 | try unsafe add.unsafeInvoke(environment, buildParameters, buildable, false, false, nil, UnsafeMutableRawPointer($0))
933 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewSession.swift:138:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
136 | static func rendererIsRunning(_ identifier: Int32, executable: URL) throws -> Bool {
137 | var buffer = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
138 | let count = buffer.withUnsafeMutableBytes { bytes in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBytes' has unsafe type '(UnsafeMutableRawBufferPointer) throws -> Int32'
| | `- note: reference to instance method 'withUnsafeMutableBytes' involves unsafe type 'UnsafeMutableRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
139 | unsafe proc_pidpath(identifier, bytes.baseAddress, UInt32(bytes.count))
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewSession.swift:145:20: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
143 | return false
144 | }
145 | let path = buffer.withUnsafeBufferPointer { unsafe String(cString: $0.baseAddress!) }
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<CChar>) -> String' (aka '(UnsafeBufferPointer<Int8>) -> String')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<CChar>' (aka 'UnsafeBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
146 | // A stopped renderer's PID may have been reused by an unrelated process.
147 | return URL(filePath: path).resolvingSymlinksInPath() == executable.resolvingSymlinksInPath()
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewSession.swift:138:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
136 | static func rendererIsRunning(_ identifier: Int32, executable: URL) throws -> Bool {
137 | var buffer = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
138 | let count = buffer.withUnsafeMutableBytes { bytes in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBytes' has unsafe type '(UnsafeMutableRawBufferPointer) throws -> Int32'
| | `- note: reference to instance method 'withUnsafeMutableBytes' involves unsafe type 'UnsafeMutableRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
139 | unsafe proc_pidpath(identifier, bytes.baseAddress, UInt32(bytes.count))
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewSession.swift:145:20: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
143 | return false
144 | }
145 | let path = buffer.withUnsafeBufferPointer { unsafe String(cString: $0.baseAddress!) }
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<CChar>) -> String' (aka '(UnsafeBufferPointer<Int8>) -> String')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<CChar>' (aka 'UnsafeBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
146 | // A stopped renderer's PID may have been reused by an unrelated process.
147 | return URL(filePath: path).resolvingSymlinksInPath() == executable.resolvingSymlinksInPath()
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewSession.swift:138:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
136 | static func rendererIsRunning(_ identifier: Int32, executable: URL) throws -> Bool {
137 | var buffer = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
138 | let count = buffer.withUnsafeMutableBytes { bytes in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBytes' has unsafe type '(UnsafeMutableRawBufferPointer) throws -> Int32'
| | `- note: reference to instance method 'withUnsafeMutableBytes' involves unsafe type 'UnsafeMutableRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
139 | unsafe proc_pidpath(identifier, bytes.baseAddress, UInt32(bytes.count))
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewSession.swift:145:20: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
143 | return false
144 | }
145 | let path = buffer.withUnsafeBufferPointer { unsafe String(cString: $0.baseAddress!) }
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<CChar>) -> String' (aka '(UnsafeBufferPointer<Int8>) -> String')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<CChar>' (aka 'UnsafeBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
146 | // A stopped renderer's PID may have been reused by an unrelated process.
147 | return URL(filePath: path).resolvingSymlinksInPath() == executable.resolvingSymlinksInPath()
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewSession.swift:138:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
136 | static func rendererIsRunning(_ identifier: Int32, executable: URL) throws -> Bool {
137 | var buffer = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
138 | let count = buffer.withUnsafeMutableBytes { bytes in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBytes' has unsafe type '(UnsafeMutableRawBufferPointer) throws -> Int32'
| | `- note: reference to instance method 'withUnsafeMutableBytes' involves unsafe type 'UnsafeMutableRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
139 | unsafe proc_pidpath(identifier, bytes.baseAddress, UInt32(bytes.count))
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewSession.swift:145:20: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
143 | return false
144 | }
145 | let path = buffer.withUnsafeBufferPointer { unsafe String(cString: $0.baseAddress!) }
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<CChar>) -> String' (aka '(UnsafeBufferPointer<Int8>) -> String')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<CChar>' (aka 'UnsafeBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
146 | // A stopped renderer's PID may have been reused by an unrelated process.
147 | return URL(filePath: path).resolvingSymlinksInPath() == executable.resolvingSymlinksInPath()
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewSession.swift:138:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
136 | static func rendererIsRunning(_ identifier: Int32, executable: URL) throws -> Bool {
137 | var buffer = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
138 | let count = buffer.withUnsafeMutableBytes { bytes in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBytes' has unsafe type '(UnsafeMutableRawBufferPointer) throws -> Int32'
| | `- note: reference to instance method 'withUnsafeMutableBytes' involves unsafe type 'UnsafeMutableRawBufferPointer'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
139 | unsafe proc_pidpath(identifier, bytes.baseAddress, UInt32(bytes.count))
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewSession.swift:145:20: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
143 | return false
144 | }
145 | let path = buffer.withUnsafeBufferPointer { unsafe String(cString: $0.baseAddress!) }
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<CChar>) -> String' (aka '(UnsafeBufferPointer<Int8>) -> String')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<CChar>' (aka 'UnsafeBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
146 | // A stopped renderer's PID may have been reused by an unrelated process.
147 | return URL(filePath: path).resolvingSymlinksInPath() == executable.resolvingSymlinksInPath()
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1140/1144] Emitting module XcodeMCPNativeHost
[1141/1144] Compiling XcodeMCPNativeHost NativeHostMain.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeHost/NativeHostMain.swift:153:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
151 | defer { unsafe arguments.forEach { argument in unsafe free(argument) } }
152 | var pointers = unsafe arguments + [nil]
153 | pointers.withUnsafeMutableBufferPointer { buffer in
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(inout UnsafeMutableBufferPointer<UnsafeMutablePointer<CChar>?>) -> ()' (aka '(inout UnsafeMutableBufferPointer<Optional<UnsafeMutablePointer<Int8>>>) -> ()')
| | |- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<UnsafeMutablePointer<CChar>?>' (aka 'UnsafeMutableBufferPointer<Optional<UnsafeMutablePointer<Int8>>>')
| | `- note: reference to unsafe type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>')
| |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
| |- note: argument 'self' in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type 'inout Array<UnsafeMutablePointer<CChar>?>' (aka 'inout Array<Optional<UnsafeMutablePointer<Int8>>>')
| `- note: reference to var 'pointers' involves unsafe type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
154 | _ = unsafe execv(CommandLine.arguments[0], buffer.baseAddress)
155 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1141/1144] Write Objects.LinkFileList
[1142/1144] Linking xcode-mcp-native-host
[1143/1144] Applying xcode-mcp-native-host
Build complete! (108.37s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/p-x9/MachOKit.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/lynnswap/ABIBridge.git
[1/8544] Fetching swift-log
[2/17124] Fetching swift-log, machokit
[3/32488] Fetching swift-log, machokit, abibridge
[15963/51930] Fetching swift-log, machokit, abibridge, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (1.24s)
[9390/43386] Fetching machokit, abibridge, swift-argument-parser
[23687/130336] Fetching machokit, abibridge, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (28.37s)
Fetched https://github.com/p-x9/MachOKit.git from cache (28.37s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (28.37s)
Fetched https://github.com/lynnswap/ABIBridge.git from cache (28.37s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (29.08s)
Computing version for https://github.com/p-x9/MachOKit.git
warning: 'machokit': /Package.swift:145:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
143 | }
144 |
145 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
146 | public static var allCases: [Self] {
147 | [
Computed https://github.com/p-x9/MachOKit.git at 0.55.0 (0.75s)
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/apple/swift-crypto.git
[1/259] Fetching objectarchivekit
[110/350] Fetching objectarchivekit, swift-fileio-extra
[184/612] Fetching objectarchivekit, swift-fileio-extra, swift-binary-parse-support
[346/1333] Fetching objectarchivekit, swift-fileio-extra, swift-binary-parse-support, swift-fileio
[383/20320] Fetching objectarchivekit, swift-fileio-extra, swift-binary-parse-support, swift-fileio, swift-crypto
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (0.76s)
[539/20058] Fetching objectarchivekit, swift-fileio-extra, swift-fileio, swift-crypto
Fetched https://github.com/p-x9/swift-fileio.git from cache (3.33s)
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (3.33s)
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (3.33s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.33s)
Computing version for https://github.com/lynnswap/ABIBridge.git
Computed https://github.com/lynnswap/ABIBridge.git at 0.17.0 (3.95s)
Fetching https://github.com/lynnswap/ZDLibffi.git
Fetching https://github.com/p-x9/swift-objc-dump.git
[1/483] Fetching swift-objc-dump
[21/1283] Fetching swift-objc-dump, zdlibffi
Fetched https://github.com/lynnswap/ZDLibffi.git from cache (1.07s)
Fetched https://github.com/p-x9/swift-objc-dump.git from cache (1.07s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (1.69s)
Computing version for https://github.com/lynnswap/ZDLibffi.git
warning: 'zdlibffi': /Package.swift:8:15: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
6 | name: "ZDLibffi",
7 | platforms: [
8 | .iOS(.v10),
| `- warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
9 | .macOS(.v10_12),
10 | .tvOS(.v10),
/Package.swift:9:17: warning: 'v10_12' is deprecated: macOS 10.13 is the oldest supported version [#DeprecatedDeclaration]
7 | platforms: [
8 | .iOS(.v10),
9 | .macOS(.v10_12),
| `- warning: 'v10_12' is deprecated: macOS 10.13 is the oldest supported version [#DeprecatedDeclaration]
10 | .tvOS(.v10),
11 | .watchOS(.v3),
/Package.swift:10:16: warning: 'v10' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .iOS(.v10),
9 | .macOS(.v10_12),
10 | .tvOS(.v10),
| `- warning: 'v10' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
11 | .watchOS(.v3),
12 | .visionOS(.v1)
/Package.swift:11:19: warning: 'v3' is deprecated: watchOS 4.0 is the oldest supported version [#DeprecatedDeclaration]
9 | .macOS(.v10_12),
10 | .tvOS(.v10),
11 | .watchOS(.v3),
| `- warning: 'v3' is deprecated: watchOS 4.0 is the oldest supported version [#DeprecatedDeclaration]
12 | .visionOS(.v1)
13 | ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/lynnswap/ZDLibffi.git at 0.380.1 (0.58s)
Computing version for https://github.com/p-x9/swift-objc-dump.git
Computed https://github.com/p-x9/swift-objc-dump.git at 0.9.0 (0.63s)
Computing version for https://github.com/p-x9/swift-binary-parse-support.git
Computed https://github.com/p-x9/swift-binary-parse-support.git at 0.3.0 (0.57s)
Computing version for https://github.com/p-x9/swift-fileio-extra.git
Computed https://github.com/p-x9/swift-fileio-extra.git at 0.4.0 (0.60s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.16.1 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.58s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.84s)
Fetching https://github.com/apple/swift-asn1.git
[1/2082] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.98s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (3.26s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.72s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1936] Fetching swift-atomics
[389/9555] Fetching swift-atomics, swift-system
[4299/39900] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.27s)
Fetched https://github.com/apple/swift-system.git from cache (3.27s)
Fetched https://github.com/apple/swift-atomics.git from cache (3.27s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.94s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.65s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.67s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
Creating working copy for https://github.com/lynnswap/ABIBridge.git
Working copy of https://github.com/lynnswap/ABIBridge.git resolved at 0.17.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/p-x9/swift-binary-parse-support.git
Working copy of https://github.com/p-x9/swift-binary-parse-support.git resolved at 0.3.0
Creating working copy for https://github.com/p-x9/ObjectArchiveKit.git
Working copy of https://github.com/p-x9/ObjectArchiveKit.git resolved at 0.5.0
Creating working copy for https://github.com/p-x9/MachOKit.git
Working copy of https://github.com/p-x9/MachOKit.git resolved at 0.55.0
Creating working copy for https://github.com/lynnswap/ZDLibffi.git
Working copy of https://github.com/lynnswap/ZDLibffi.git resolved at 0.380.1
Creating working copy for https://github.com/p-x9/swift-fileio-extra.git
Working copy of https://github.com/p-x9/swift-fileio-extra.git resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/p-x9/swift-objc-dump.git
Working copy of https://github.com/p-x9/swift-objc-dump.git resolved at 0.9.0
Creating working copy for https://github.com/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.16.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
warning: 'machokit': /Users/admin/builder/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:145:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
143 | }
144 |
145 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
146 | public static var allCases: [Self] {
147 | [
warning: 'zdlibffi': /Users/admin/builder/spi-builder-workspace/.build/checkouts/ZDLibffi/Package.swift:8:15: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
6 | name: "ZDLibffi",
7 | platforms: [
8 | .iOS(.v10),
| `- warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
9 | .macOS(.v10_12),
10 | .tvOS(.v10),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZDLibffi/Package.swift:9:17: warning: 'v10_12' is deprecated: macOS 10.13 is the oldest supported version [#DeprecatedDeclaration]
7 | platforms: [
8 | .iOS(.v10),
9 | .macOS(.v10_12),
| `- warning: 'v10_12' is deprecated: macOS 10.13 is the oldest supported version [#DeprecatedDeclaration]
10 | .tvOS(.v10),
11 | .watchOS(.v3),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZDLibffi/Package.swift:10:16: warning: 'v10' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .iOS(.v10),
9 | .macOS(.v10_12),
10 | .tvOS(.v10),
| `- warning: 'v10' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
11 | .watchOS(.v3),
12 | .visionOS(.v1)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZDLibffi/Package.swift:11:19: warning: 'v3' is deprecated: watchOS 4.0 is the oldest supported version [#DeprecatedDeclaration]
9 | .macOS(.v10_12),
10 | .tvOS(.v10),
11 | .watchOS(.v3),
| `- warning: 'v3' is deprecated: watchOS 4.0 is the oldest supported version [#DeprecatedDeclaration]
12 | .visionOS(.v1)
13 | ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
"dependencies" : [
{
"identity" : "abibridge",
"requirement" : {
"exact" : [
"0.17.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/lynnswap/ABIBridge.git"
},
{
"identity" : "machokit",
"requirement" : {
"exact" : [
"0.55.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/p-x9/MachOKit.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "XcodeMCPKit",
"name" : "XcodeMCPKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.4"
},
{
"name" : "ios",
"version" : "18.4"
},
{
"name" : "tvos",
"version" : "18.4"
},
{
"name" : "watchos",
"version" : "11.4"
},
{
"name" : "visionos",
"version" : "2.4"
}
],
"products" : [
{
"name" : "XcodeMCPKit",
"targets" : [
"XcodeMCPKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "XcodeMCPKitTesting",
"targets" : [
"XcodeMCPKitTesting"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "XcodeMCPServerKit",
"targets" : [
"XcodeMCPServerKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "xcode-mcp-server",
"targets" : [
"XcodeMCPServerCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "xcode-mcp-install",
"targets" : [
"XcodeMCPInstallCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "xcode-mcp-tool-verifier",
"targets" : [
"XcodeMCPToolVerifierCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "xcode-mcp-native-host",
"targets" : [
"XcodeMCPNativeHost"
],
"type" : {
"executable" : null
}
},
{
"name" : "XcodeMCPPreviewRenderer",
"targets" : [
"XcodeMCPPreviewRenderer"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "ServerBuildInfoTool",
"targets" : [
"ServerBuildInfoTool"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "XcodeMCPWire",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPWire",
"path" : "Sources/XcodeMCPWire",
"product_memberships" : [
"XcodeMCPKit",
"XcodeMCPKitTesting",
"XcodeMCPServerKit",
"xcode-mcp-server",
"xcode-mcp-install",
"xcode-mcp-tool-verifier",
"xcode-mcp-native-host",
"XcodeMCPPreviewRenderer"
],
"sources" : [
"GUIXcodeTools.swift",
"JSONRPCMessageInspector.swift",
"JSONRPCWire.swift",
"JSONValue.swift",
"MCPProtocolVersion.swift",
"PreviewRendererFileEvents.swift",
"PreviewRendererMessages.swift",
"StdioFramer.swift"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPToolVerifierCLI",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPToolVerifierCLI",
"path" : "Sources/XcodeMCPToolVerifierCLI",
"product_memberships" : [
"xcode-mcp-tool-verifier"
],
"sources" : [
"XcodeMCPToolVerifierCLI.swift"
],
"target_dependencies" : [
"XcodeMCPToolVerifier"
],
"type" : "executable"
},
{
"c99name" : "XcodeMCPToolVerifier",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPToolVerifier",
"path" : "Sources/XcodeMCPToolVerifier",
"product_memberships" : [
"xcode-mcp-tool-verifier"
],
"sources" : [
"PreviewCapture.swift",
"PreviewComparison.swift",
"PreviewFixture.swift",
"PreviewVerifierCommand.swift",
"XcodeMCPToolVerifier.swift"
],
"target_dependencies" : [
"XcodeMCPKit"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPServerTestSupport",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPServerTestSupport",
"path" : "Tests/XcodeMCPServerTestSupport",
"product_dependencies" : [
"NIO",
"NIOConcurrencyHelpers"
],
"sources" : [
"AsyncTestSupport.swift",
"DocumentationAssetFixture.swift"
],
"target_dependencies" : [
"XcodeMCPCoreTestSupport"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPServerRuntimeTests",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPServerRuntimeTests",
"path" : "Tests/XcodeMCPServerRuntimeTests",
"product_dependencies" : [
"Logging",
"NIO",
"NIOConcurrencyHelpers",
"NIOEmbedded"
],
"sources" : [
"NativeBrokerTurnsTests.swift",
"NativeHostBrokerTests.swift",
"NativeHostConnectionTests.swift",
"NativeHostRuntimeTests.swift",
"NativeHostTestSupport.swift",
"ServerLoggingTests.swift",
"StableToolCatalogTests.swift",
"ToolCallNormalizerTests.swift",
"ToolCatalogStartupLogFormatterTests.swift"
],
"target_dependencies" : [
"XcodeMCPServerRuntimeTestSupport",
"XcodeMCPServerRuntimeContract",
"XcodeMCPCore",
"XcodeMCPServerRuntime",
"XcodeMCPServerTestSupport"
],
"type" : "test"
},
{
"c99name" : "XcodeMCPServerRuntimeTestSupport",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPServerRuntimeTestSupport",
"path" : "Tests/XcodeMCPServerRuntimeTestSupport",
"product_dependencies" : [
"NIOCore"
],
"sources" : [
"FakeHostSession.swift",
"HostProcessConfigurationMirror.swift"
],
"target_dependencies" : [
"XcodeMCPCore",
"XcodeMCPServerRuntime",
"XcodeMCPServerTestSupport"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPServerRuntimeContract",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPServerRuntimeContract",
"path" : "Sources/XcodeMCPServerRuntimeContract",
"product_memberships" : [
"XcodeMCPServerKit",
"xcode-mcp-server",
"xcode-mcp-install"
],
"sources" : [
"ServerRuntimeServing.swift"
],
"target_dependencies" : [
"XcodeMCPCore"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPServerRuntime",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPServerRuntime",
"path" : "Sources/XcodeMCPServerRuntime",
"product_dependencies" : [
"Logging",
"NIO",
"NIOFoundationCompat",
"NIOConcurrencyHelpers"
],
"product_memberships" : [
"XcodeMCPServerKit",
"xcode-mcp-server",
"xcode-mcp-install"
],
"sources" : [
"Broker/NativeBrokerTurns.swift",
"Broker/NativeHostBroker.swift",
"Broker/NativeHostBrokerOperation.swift",
"Broker/NativeHostBrokerScopes.swift",
"Broker/NativeHostBrokerSession.swift",
"Broker/NativeHostBrokerTools.swift",
"Broker/ToolCallNormalizer.swift",
"Broker/ToolCatalogStartupLogFormatter.swift",
"Broker/XcodeToolCatalog.swift",
"Configuration/ServerRuntimeConfiguration.swift",
"Host/HostStderrLogFilter.swift",
"Host/NativeHostConnection.swift",
"Host/NativeHostRuntime.swift",
"Host/XcodeHostInventory.swift",
"Support/ServerLogging.swift"
],
"target_dependencies" : [
"XcodeMCPInstallation",
"XcodeMCPServerRuntimeContract",
"XcodeMCPCore",
"XcodeMCPWire"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPServerKit",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPServerKit",
"path" : "Sources/XcodeMCPServerKit",
"product_dependencies" : [
"ArgumentParser",
"Logging",
"NIOCore"
],
"product_memberships" : [
"XcodeMCPServerKit",
"xcode-mcp-server",
"xcode-mcp-install"
],
"sources" : [
"Internal/CLI/Common/CLICommandParser.swift",
"Internal/CLI/Install/InstallCommand.swift",
"Internal/CLI/Server/ServerCommand.swift",
"Internal/Install/ServerProductBuilder.swift",
"Internal/Process/ExistingServerProcessController.swift",
"Internal/Process/ProcessControlClient.swift",
"Internal/Support/DiscoveryClient.swift",
"XcodeMCPConsole.swift",
"XcodeMCPInstaller.swift",
"XcodeMCPServer+Launch.swift",
"XcodeMCPServer+Launcher.swift",
"XcodeMCPServer+PermissionAutomation.swift",
"XcodeMCPServer+PortDiagnostics.swift",
"XcodeMCPServer+Startup.swift",
"XcodeMCPServer.swift",
"XcodeMCPServerRunners.swift"
],
"target_dependencies" : [
"XcodeMCPServerRuntimeContract",
"XcodeMCPCore",
"XcodeMCPServerRuntime",
"XcodeMCPServerHTTP",
"XcodeMCPPermissionAutomation",
"ServerBuildInfoPlugin"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPServerHTTPTests",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPServerHTTPTests",
"path" : "Tests/XcodeMCPServerHTTPTests",
"product_dependencies" : [
"Logging",
"NIO",
"NIOEmbedded",
"NIOHTTP1"
],
"sources" : [
"HTTPEventDeliveryStoreTests.swift",
"HTTPResponseWriterLoggingTests.swift",
"HTTPSessionStoreTests.swift",
"SSEHubTests.swift",
"ServerHTTPGatewayTests.swift"
],
"target_dependencies" : [
"XcodeMCPServerRuntimeContract",
"XcodeMCPServerHTTP"
],
"type" : "test"
},
{
"c99name" : "XcodeMCPServerHTTP",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPServerHTTP",
"path" : "Sources/XcodeMCPServerHTTP",
"product_dependencies" : [
"Logging",
"NIO",
"NIOHTTP1",
"NIOFoundationCompat",
"NIOConcurrencyHelpers"
],
"product_memberships" : [
"XcodeMCPServerKit",
"xcode-mcp-server",
"xcode-mcp-install"
],
"sources" : [
"HTTP/HTTPControlService.swift",
"HTTP/HTTPHandler+Responses.swift",
"HTTP/HTTPHandler.swift",
"HTTP/HTTPRequestSecurityPolicy.swift",
"HTTP/HTTPRequestValidator.swift",
"HTTP/HTTPResponseWriter.swift",
"HTTP/HTTPRoute.swift",
"HTTP/HTTPSessionStore.swift",
"HTTP/MCPResponseEmitter.swift",
"HTTP/RuntimeScheduledTimeout.swift",
"HTTP/SSEHub.swift",
"HTTP/ServerHTTPChildChannelInitializer.swift",
"HTTP/ServerHTTPConfiguration.swift",
"HTTP/ServerHTTPGateway.swift"
],
"target_dependencies" : [
"XcodeMCPServerRuntimeContract",
"XcodeMCPCore"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPServerCLI",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPServerCLI",
"path" : "Sources/XcodeMCPServerCLI",
"product_memberships" : [
"xcode-mcp-server"
],
"sources" : [
"XcodeMCPServerMain.swift"
],
"target_dependencies" : [
"XcodeMCPServerKit"
],
"type" : "executable"
},
{
"c99name" : "XcodeMCPProcessRuntimeTests",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProcessRuntimeTests",
"path" : "Tests/XcodeMCPProcessRuntimeTests",
"sources" : [
"MCPProcessLauncherTests.swift",
"ProcessRunnerTests.swift",
"ProcessTestEnvironment.swift"
],
"target_dependencies" : [
"XcodeMCPCore",
"XcodeMCPCoreTestSupport"
],
"type" : "test"
},
{
"c99name" : "XcodeMCPPreviewRenderer",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPPreviewRenderer",
"path" : "Sources/XcodeMCPPreviewRenderer",
"product_dependencies" : [
"ABIBridge",
"ABIBridgeSwiftUI"
],
"product_memberships" : [
"XcodeMCPPreviewRenderer"
],
"sources" : [
"ActivityPreview.swift",
"AppKitSnapshot.swift",
"ClockKitPreview.swift",
"LegacyActivityPreview.swift",
"LegacyPreviewMetadata.swift",
"NativePreviewService.swift",
"NativeWidgetPreview.swift",
"PreviewDisplay.swift",
"PreviewMetadata.swift",
"PreviewRendererAppKit.swift",
"PreviewRendererContent.swift",
"PreviewRendererMain.swift",
"PreviewRendererSession.swift",
"PreviewRendererUIKit.swift",
"PreviewRendererWatch.swift",
"PreviewSnapshot.swift",
"PreviewSnapshotWindow.swift",
"PreviewView.swift",
"WatchSnapshot.swift",
"WidgetEnvironment.swift",
"WidgetPreview.swift",
"WidgetVariants.swift"
],
"target_dependencies" : [
"XcodeMCPWire"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPPermissionAutomationTests",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPPermissionAutomationTests",
"path" : "Tests/XcodeMCPPermissionAutomationTests",
"product_dependencies" : [
"Logging"
],
"sources" : [
"XcodePermissionDialogAutoApproverTests.swift"
],
"target_dependencies" : [
"XcodeMCPPermissionAutomation",
"XcodeMCPCoreTestSupport"
],
"type" : "test"
},
{
"c99name" : "XcodeMCPPermissionAutomation",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPPermissionAutomation",
"path" : "Sources/XcodeMCPPermissionAutomation",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"XcodeMCPServerKit",
"xcode-mcp-server",
"xcode-mcp-install"
],
"sources" : [
"PermissionDialogAXClient.swift",
"PermissionDialogMatcher.swift",
"PermissionDialogScanner.swift",
"PermissionDialogSnapshot.swift",
"XcodePermissionDialogAutoApprover.swift"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPNativeSwiftABI",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPNativeSwiftABI",
"path" : "Sources/XcodeMCPNativeSwiftABI",
"product_memberships" : [
"xcode-mcp-native-host"
],
"sources" : [
"WorkspaceCallback.swift"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPNativeRuntimeTests",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPNativeRuntimeTests",
"path" : "Tests/XcodeMCPNativeRuntimeTests",
"product_dependencies" : [
"ABIBridge"
],
"sources" : [
"NativeAnalyticsValueTests.swift",
"NativeApplicationLaunchTests.swift",
"NativeCrashDataTests.swift",
"NativeCrashSyncJobsTests.swift",
"NativeCrashSyncStoreTests.swift",
"NativeCrashToolsTests.swift",
"NativeDebuggerReadinessTests.swift",
"NativeDocumentationSearchAssetTests.swift",
"NativeErrorPresentationTests.swift",
"NativeExecutionOperationsTests.swift",
"NativeHostDiagnosticTests.swift",
"NativeHostEnvironmentTests.swift",
"NativeLaunchOwnershipTests.swift",
"NativeMCPSessionTests.swift",
"NativeMetalToolchainTests.swift",
"NativeOrganizerApplicationTests.swift",
"NativeOrganizerCrashCacheTests.swift",
"NativeOrganizerCrashServiceTests.swift",
"NativePreviewBinaryTests.swift",
"NativePreviewBuildInputsTests.swift",
"NativePreviewBuildTests.swift",
"NativePreviewDiscoveryTests.swift",
"NativePreviewEntitlementsTests.swift",
"NativePreviewInputSnapshotTests.swift",
"NativePreviewLocationTests.swift",
"NativePreviewOptionsTests.swift",
"NativePreviewProcessTests.swift",
"NativePreviewProductSignatureTests.swift",
"NativePreviewRenderQueueTests.swift",
"NativePreviewSnapshotTests.swift",
"NativePreviewToolTests.swift",
"NativeSchemaConverterTests.swift",
"NativeStdioFramingTests.swift",
"NativeTestJSON.swift",
"NativeWorkspaceDocumentTests.swift",
"NativeWorkspaceOpenConfirmationTests.swift",
"NativeWorkspaceRegistryTests.swift",
"NativeWorkspaceSelectionsTests.swift"
],
"target_dependencies" : [
"XcodeMCPNativeRuntime",
"XcodeMCPWire"
],
"type" : "test"
},
{
"c99name" : "XcodeMCPNativeRuntime",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPNativeRuntime",
"path" : "Sources/XcodeMCPNativeRuntime",
"product_dependencies" : [
"ABIBridge",
"MachOKit"
],
"product_memberships" : [
"xcode-mcp-native-host"
],
"sources" : [
"NativeABI.swift",
"NativeActionBridge.swift",
"NativeApplicationBootstrap.swift",
"NativeApplicationLaunch.swift",
"NativeCrashData.swift",
"NativeCrashLogSource.swift",
"NativeCrashQuery.swift",
"NativeCrashSyncJobs.swift",
"NativeCrashSyncStore.swift",
"NativeCrashTools.swift",
"NativeDocumentationSearchAsset.swift",
"NativeErrorPresentation.swift",
"NativeExecutionOperations.swift",
"NativeExecutionQueue.swift",
"NativeHostDiagnostic.swift",
"NativeHostEnvironment.swift",
"NativeLaunchOwnership.swift",
"NativeMCPSession.swift",
"NativeMetalToolchain.swift",
"NativeObjCGetters.swift",
"NativeOrganizerAccessibility.swift",
"NativeOrganizerApplication.swift",
"NativeOrganizerCrashCache.swift",
"NativeOrganizerCrashService.swift",
"NativePreviewBinary.swift",
"NativePreviewBuild.swift",
"NativePreviewBuildInputs.swift",
"NativePreviewDefinitions.swift",
"NativePreviewDestinations.swift",
"NativePreviewEntitlements.swift",
"NativePreviewFileMetadata.swift",
"NativePreviewInputSnapshot.swift",
"NativePreviewPlatform.swift",
"NativePreviewProcess.swift",
"NativePreviewProductSignature.swift",
"NativePreviewProjectInputs.swift",
"NativePreviewRenderQueue.swift",
"NativePreviewSession.swift",
"NativePreviewSnapshot.swift",
"NativePreviewStaging.swift",
"NativePreviewTool.swift",
"NativeRuntimeError.swift",
"NativeSimulatorLaunchTracker.swift",
"NativeTestableStateNoticeGuard.swift",
"NativeToolBackend.swift",
"NativeToolSchema.swift",
"NativeToolSelection.swift",
"NativeWorkspaceDocument.swift",
"NativeWorkspaceOpenConfirmation.swift",
"NativeWorkspaceRegistry.swift",
"NativeWorkspaceScope.swift",
"NativeWorkspaceSelections.swift"
],
"target_dependencies" : [
"XcodeMCPInstallation",
"XcodeMCPWire",
"XcodeMCPNativeSwiftABI"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPNativeHost",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPNativeHost",
"path" : "Sources/XcodeMCPNativeHost",
"product_memberships" : [
"xcode-mcp-native-host"
],
"sources" : [
"NativeHostMain.swift"
],
"target_dependencies" : [
"XcodeMCPInstallation",
"XcodeMCPNativeRuntime",
"XcodeMCPWire"
],
"type" : "executable"
},
{
"c99name" : "XcodeMCPKitTests",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPKitTests",
"path" : "Tests/XcodeMCPKitTests",
"sources" : [
"ClientCleanup.swift",
"CoreHTTPClientLifecycleTests.swift",
"ProcessTransportIntegrationTests.swift",
"XcodeMCPTests.swift"
],
"target_dependencies" : [
"XcodeMCPCore",
"XcodeMCPCoreTestSupport",
"XcodeMCPKit"
],
"type" : "test"
},
{
"c99name" : "XcodeMCPKitTestingTests",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPKitTestingTests",
"path" : "Tests/XcodeMCPKitTestingTests",
"sources" : [
"XcodeMCPKitTestingTests.swift"
],
"target_dependencies" : [
"XcodeMCPCore",
"XcodeMCPCoreTestSupport",
"XcodeMCPKit",
"XcodeMCPKitTesting"
],
"type" : "test"
},
{
"c99name" : "XcodeMCPKitTesting",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPKitTesting",
"path" : "Sources/XcodeMCPKitTesting",
"product_memberships" : [
"XcodeMCPKitTesting"
],
"sources" : [
"XcodeMCPTestRuntime.swift"
],
"target_dependencies" : [
"XcodeMCPCore",
"XcodeMCPKit"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPKit",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPKit",
"path" : "Sources/XcodeMCPKit",
"product_memberships" : [
"XcodeMCPKit",
"XcodeMCPKitTesting",
"xcode-mcp-tool-verifier"
],
"sources" : [
"Internal/ClientRuntime/Deadline.swift",
"Internal/ClientRuntime/InitializedMCPClientSession.swift",
"Internal/ClientRuntime/MCPClientSessionAuthority.swift",
"Internal/ClientRuntime/MCPConnectionHeaders.swift",
"Internal/ClientRuntime/StreamableHTTPMCPClient.swift",
"Internal/ClientRuntime/StreamableHTTPXcodeMCPTransport.swift",
"Internal/ClientRuntime/XcodeMCPTransport.swift",
"MCPDomainTypes.swift",
"MCPJSONValue.swift",
"XcodeMCP.swift",
"XcodeMCPConnection.swift",
"XcodeMCPError.swift"
],
"target_dependencies" : [
"XcodeMCPCore",
"XcodeMCPWire"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPInstallationTests",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPInstallationTests",
"path" : "Tests/XcodeMCPInstallationTests",
"sources" : [
"XcodeInstallationDiscoveryTests.swift"
],
"target_dependencies" : [
"XcodeMCPInstallation"
],
"type" : "test"
},
{
"c99name" : "XcodeMCPInstallation",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPInstallation",
"path" : "Sources/XcodeMCPInstallation",
"product_memberships" : [
"XcodeMCPServerKit",
"xcode-mcp-server",
"xcode-mcp-install",
"xcode-mcp-native-host"
],
"sources" : [
"XcodeInstallation.swift",
"XcodeInstallationDiscovery.swift"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPInstallCLI",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPInstallCLI",
"path" : "Sources/XcodeMCPInstallCLI",
"product_memberships" : [
"xcode-mcp-install"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"XcodeMCPServerKit"
],
"type" : "executable"
},
{
"c99name" : "XcodeMCPCoreTests",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPCoreTests",
"path" : "Tests/XcodeMCPCoreTests",
"product_dependencies" : [
"NIO",
"NIOConcurrencyHelpers",
"NIOEmbedded"
],
"sources" : [
"AsyncTestSupportTests.swift",
"DiscoveryTests.swift",
"JSONRPCWireContractTests.swift",
"JSONValueTests.swift",
"MCPProtocolVersionTests.swift",
"NativeHostInvocationTests.swift",
"SSECodecTests.swift",
"StdioFramerTests.swift"
],
"target_dependencies" : [
"XcodeMCPCoreTestSupport",
"XcodeMCPCore"
],
"type" : "test"
},
{
"c99name" : "XcodeMCPCoreTestSupport",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPCoreTestSupport",
"path" : "Tests/XcodeMCPCoreTestSupport",
"product_dependencies" : [
"NIOConcurrencyHelpers"
],
"sources" : [
"AsyncTestSupport.swift",
"DeterministicRecorder.swift",
"MCPProcessFixture.swift"
],
"target_dependencies" : [
"XcodeMCPCore"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPCore",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPCore",
"path" : "Sources/XcodeMCPCore",
"product_memberships" : [
"XcodeMCPKit",
"XcodeMCPKitTesting",
"XcodeMCPServerKit",
"xcode-mcp-server",
"xcode-mcp-install",
"xcode-mcp-tool-verifier"
],
"sources" : [
"CoreRuntime/ClockClient.swift",
"CoreRuntime/Discovery.swift",
"CoreRuntime/JSONPayloadValidator.swift",
"CoreRuntime/MCPRuntimeError.swift",
"CoreRuntime/SSECodec.swift",
"CoreRuntime/Support/DependencyClient.swift",
"CoreRuntime/Support/FileSystemClient.swift",
"CoreRuntime/WireTypes.swift",
"ProcessRuntime/OrderedPipeReader.swift",
"ProcessRuntime/Process/MCPProcessInvocation.swift",
"ProcessRuntime/Process/NativeHostInvocation.swift",
"ProcessRuntime/ProcessRunner.swift",
"ProcessRuntime/Session/MCPProcessDiagnostics.swift",
"ProcessRuntime/Session/MCPProcessLauncher.swift",
"ProcessRuntime/Session/MCPProcessSession.swift"
],
"target_dependencies" : [
"XcodeMCPWire"
],
"type" : "library"
},
{
"c99name" : "ToolVerifierTests",
"module_type" : "SwiftTarget",
"name" : "ToolVerifierTests",
"path" : "Tests/ToolVerifierTests",
"sources" : [
"PreviewVerifierTests.swift",
"ToolVerifierTests.swift"
],
"target_dependencies" : [
"XcodeMCPToolVerifier",
"XcodeMCPKitTesting"
],
"type" : "test"
},
{
"c99name" : "ServerStressTests",
"module_type" : "SwiftTarget",
"name" : "ServerStressTests",
"path" : "Tests/ServerStressTests",
"product_dependencies" : [
"NIO",
"NIOHTTP1"
],
"sources" : [
"DocumentationSearchStressTests.swift",
"StressTestEnvironment.swift"
],
"target_dependencies" : [
"XcodeMCPCore",
"XcodeMCPKit",
"XcodeMCPServerRuntime",
"XcodeMCPServerHTTP",
"XcodeMCPServerTestSupport"
],
"type" : "test"
},
{
"c99name" : "ServerIntegrationTests",
"module_type" : "SwiftTarget",
"name" : "ServerIntegrationTests",
"path" : "Tests/ServerIntegrationTests",
"product_dependencies" : [
"Logging",
"NIO",
"NIOEmbedded",
"NIOHTTP1"
],
"sources" : [
"AsyncTestSupportCancellationTests.swift",
"ConfigurationRuntimeTests.swift",
"DiscoveryTests.swift",
"DocumentationSearchRoutingTests.swift",
"HTTPConcurrencyTests.swift",
"HTTPHandlerTestSupport.swift",
"HTTPHandlerTests.swift",
"XcodeMCPServerBuildInfoTests.swift",
"XcodeMCPServerTests.swift"
],
"target_dependencies" : [
"XcodeMCPCoreTestSupport",
"XcodeMCPServerRuntimeTestSupport",
"XcodeMCPServerRuntimeContract",
"XcodeMCPCore",
"XcodeMCPKit",
"XcodeMCPServerKit",
"XcodeMCPServerRuntime",
"XcodeMCPServerHTTP",
"XcodeMCPServerTestSupport"
],
"type" : "test"
},
{
"c99name" : "ServerCLITests",
"module_type" : "SwiftTarget",
"name" : "ServerCLITests",
"path" : "Tests/ServerCLITests",
"product_dependencies" : [
"NIO",
"NIOHTTP1"
],
"sources" : [
"CLIUsageContractTests.swift",
"CommandIntegrationSupport.swift",
"CommandTestSupport.swift",
"InstallerFacadeIntegrationTests.swift",
"InstallerFacadeTests.swift",
"ProcessControlClientTests.swift",
"PublicRunnerTests.swift",
"ServerCommandTests.swift",
"ServerLauncherIntegrationTests.swift",
"ServerRunnerTests.swift"
],
"target_dependencies" : [
"XcodeMCPCore",
"XcodeMCPKit",
"XcodeMCPServerKit",
"XcodeMCPServerRuntime",
"XcodeMCPServerTestSupport"
],
"type" : "test"
},
{
"c99name" : "ServerBuildInfoTool",
"module_type" : "SwiftTarget",
"name" : "ServerBuildInfoTool",
"path" : "Sources/ServerBuildInfoTool",
"product_memberships" : [
"XcodeMCPServerKit",
"xcode-mcp-server",
"xcode-mcp-install",
"ServerBuildInfoTool"
],
"sources" : [
"ServerBuildInfoTool.swift"
],
"type" : "executable"
},
{
"c99name" : "ServerBuildInfoPlugin",
"module_type" : "PluginTarget",
"name" : "ServerBuildInfoPlugin",
"path" : "Plugins/ServerBuildInfoPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"XcodeMCPServerKit",
"xcode-mcp-server",
"xcode-mcp-install"
],
"sources" : [
"ServerBuildInfoPlugin.swift"
],
"target_dependencies" : [
"ServerBuildInfoTool"
],
"type" : "plugin"
},
{
"c99name" : "PublicProductContractTests",
"module_type" : "SwiftTarget",
"name" : "PublicProductContractTests",
"path" : "Tests/PublicProductContractTests",
"sources" : [
"PublicProductContractTests.swift"
],
"target_dependencies" : [
"XcodeMCPCoreTestSupport"
],
"type" : "test"
},
{
"c99name" : "LiveMCPBridgeTests",
"module_type" : "SwiftTarget",
"name" : "LiveMCPBridgeTests",
"path" : "Tests/LiveMCPBridgeTests",
"product_dependencies" : [
"NIO"
],
"sources" : [
"LiveMCPBridgeTests.swift"
],
"target_dependencies" : [
"XcodeMCPCore",
"XcodeMCPKit",
"XcodeMCPServerKit",
"XcodeMCPServerRuntime"
],
"type" : "test"
}
],
"tools_version" : "6.3"
}
Done.