Build Information
Successful build of XcodeMCPKit, reference v0.29.0 (5c8e69), with Swift 6.3 for macOS (SPM) on 20 Nov 2026 21:42:27 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
[802/967] Emitting module XcodeMCPProxyRuntimeContract
[803/967] Compiling XcodeMCPKit StreamableHTTPXcodeMCPTransport.swift
[804/967] Compiling XcodeMCPKit XcodeMCPTransport.swift
[805/967] Compiling XcodeMCPKit MCPDomainTypes.swift
[806/967] Compiling XcodeMCPKit MCPJSONValue.swift
[807/967] Compiling XcodeMCPKit XcodeMCP.swift
[808/967] Compiling ABIBridge NativeObjCImplementation.swift
[809/967] Compiling ABIBridge NativeObjCInitializerHook.swift
[810/967] Compiling ABIBridge NativeObjCMethod.swift
[811/967] Compiling ABIBridge SwiftNominalDescriptor.swift
[812/967] Compiling ABIBridge SwiftObjectiveCMemberShape.swift
[813/967] Compiling ABIBridge SwiftObjectiveCRequirementNames.swift
[814/967] Compiling ABIBridge NativeImages.swift
[815/967] Compiling ABIBridge NativeImportedFunctionHook.swift
[816/967] Compiling ABIBridge NativeImportedFunctionMonitor.swift
[817/967] Compiling ABIBridge NativeLazyLibrary.swift
[818/967] Compiling ABIBridge NativeMemory.swift
[819/967] Compiling ABIBridge NativeObjCHookRequest.swift
[820/967] Emitting module XcodeMCPKit
[821/967] Compiling ABIBridge NativeSwiftFunction.swift
[822/967] Compiling ABIBridge NativeSwiftGenericArgument.swift
[823/967] Compiling ABIBridge NativeSwiftImportedFunctionHook.swift
[824/967] Compiling ABIBridge NativeSwiftImportedMethodHook.swift
[825/967] Compiling ABIBridge NativeSwiftImportedReplacement.swift
[826/967] Compiling ABIBridge NativeSwiftKeyPath.swift
[827/967] Compiling ABIBridge NativeSwiftMethod.swift
[828/967] Compiling ABIBridge NativeSwiftMethodInvocation.swift
[829/967] Compiling ABIBridge NativeSwiftProtocolMethod.swift
[830/967] Compiling ABIBridge NativeSwiftRequests.swift
[831/967] Compiling ABIBridge NativeSwiftThrowingClosure.swift
[832/967] Compiling ABIBridge ABIBridge.swift
[833/967] Emitting module ABIBridge
[835/977] Compiling ABIBridge ABIBridgeSwiftValue.swift
[836/977] Compiling ABIBridge ABIRuntime.swift
[837/977] Compiling ABIBridge CValues.swift
[838/977] Compiling ABIBridge DynamicNativeFunction.swift
[839/977] Compiling ABIBridge FunctionCallbacks.swift
[840/977] Compiling ABIBridge HookDiagnostics.swift
[841/977] Compiling ABIBridge ImportIndex.swift
[842/977] Compiling ABIBridge ImportedFunctionSelection.swift
[843/977] Compiling ABIBridge NativeARM64.swift
[844/977] Compiling ABIBridge NativeCXXObject.swift
[845/977] Compiling ABIBridge NativeFunction.swift
[846/977] Compiling ABIBridge NativeImageMetadata.swift
[856/977] Compiling ABIBridge ObjCHookTypes.swift
[857/977] Compiling ABIBridge ObjCReplacement.swift
[858/977] Compiling ABIBridge ObjectiveCCallSignature.swift
[859/977] Compiling ABIBridge ObjectiveCDiagnostics.swift
[860/977] Compiling ABIBridge ObjectiveCValues.swift
[861/977] Compiling ABIBridge RuntimeBridge.swift
[862/977] Compiling ABIBridge SwiftArguments.swift
[863/977] Compiling ABIBridge SwiftAsyncCall.swift
[864/977] Compiling ABIBridge SwiftBorrowedInputs.swift
[865/977] Compiling ABIBridge SwiftCall.swift
[866/977] Compiling ABIBridge SwiftCandidateSelection.swift
[867/977] Compiling XcodeMCPKit InitializedMCPClientSession.swift
[868/977] Compiling XcodeMCPKit MCPClientSessionAuthority.swift
[880/977] Compiling ABIBridge NativeObjCMethodHook.swift
[881/977] Compiling ABIBridge NativeObjCRequests.swift
[882/977] Compiling ABIBridge NativeObject.swift
[883/977] Compiling ABIBridge NativePointerAuthentication.swift
[884/977] Compiling ABIBridge NativePointerSearch.swift
[885/977] Compiling ABIBridge NativePreparation.swift
[886/977] Compiling ABIBridge NativeRuntimeBridge.swift
[887/977] Compiling ABIBridge NativeSwiftAsyncClosure.swift
[888/977] Compiling ABIBridge NativeSwiftBorrowedValue.swift
[889/977] Compiling ABIBridge NativeSwiftClosure.swift
[890/977] Compiling ABIBridge NativeSwiftError.swift
[891/985] Compiling ABIBridge SwiftRuntimeValueType.swift
[892/985] Compiling ABIBridge SwiftSelfAddressableDeclarations.swift
[893/985] Compiling ABIBridge SwiftSyntax.swift
[894/985] Compiling ABIBridge SwiftTupleMetadata.swift
[895/985] Compiling ABIBridge SwiftValueCodeLifetime.swift
[896/985] Compiling ABIBridge SwiftValueSchema.swift
[897/985] Compiling ABIBridge SwiftValues.swift
[898/985] Compiling ABIBridge SwiftVirtualDispatch.swift
[899/985] Compiling ABIBridge SymbolResolver.swift
[900/985] Compiling ABIBridge ValueMarshalling.swift
[901/985] Compiling XcodeMCPCoreTestSupport UpstreamProcessFixture.swift
[902/985] Compiling XcodeMCPCoreTestSupport DeterministicRecorder.swift
[903/985] Emitting module XcodeMCPCoreTestSupport
[904/985] Compiling XcodeMCPCoreTestSupport AsyncTestSupport.swift
[905/985] Compiling XcodeMCPKitTesting XcodeMCPTestRuntime.swift
[906/985] Emitting module XcodeMCPKitTesting
[907/985] Compiling ABIBridge SwiftObjectiveCRequirements.swift
[908/985] Compiling ABIBridge SwiftOpaqueResults.swift
[909/985] Compiling ABIBridge SwiftProtocolWitnesses.swift
[910/985] Compiling ABIBridge SwiftReceivers.swift
[911/985] Compiling ABIBridge SwiftResolutionCache.swift
[912/985] Compiling ABIBridge SwiftRuntimeCollections.swift
[913/985] Compiling ABIBridge SwiftRuntimeValueProjectionPlan.swift
[914/985] Compiling ABIBridge SwiftGenericParameters.swift
[915/985] Compiling ABIBridge SwiftGenericTypeContext.swift
[916/985] Compiling ABIBridge SwiftGenericTypeMetadata.swift
[917/985] Compiling ABIBridge SwiftHookDispatch.swift
[918/985] Compiling ABIBridge SwiftHookInvocation.swift
[919/985] Compiling ABIBridge SwiftHookRegistration.swift
[920/985] Compiling ABIBridge SwiftHostConversion.swift
[921/985] Compiling ABIBridge SwiftImplementation.swift
[922/985] Compiling ABIBridge SwiftInferredValues.swift
[932/987] Compiling ABIBridge SwiftMemberQuery.swift
[933/987] Compiling ABIBridge SwiftMetatypeMetadata.swift
[944/987] Compiling NIO Exports.swift
[945/987] Emitting module NIO
[946/1012] Compiling XcodeMCPProxyToolVerifier PreviewComparison.swift
[947/1012] Compiling XcodeMCPProxyToolVerifier PreviewFixture.swift
[948/1012] Emitting module XcodeMCPProxyToolVerifier
[949/1012] Compiling XcodeMCPProxyToolVerifier XcodeMCPProxyToolVerifier.swift
[950/1012] Compiling XcodeMCPProxyToolVerifier PreviewCapture.swift
[951/1012] Compiling XcodeMCPProxyToolVerifier PreviewVerifierCommand.swift
[952/1014] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[953/1014] Emitting module NIOFoundationCompat
[954/1014] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[955/1014] Compiling NIOFoundationCompat Exports.swift
[956/1014] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[957/1032] Compiling XcodeMCPProxyToolVerifierCLI XcodeMCPProxyToolVerifierCLI.swift
[958/1032] Emitting module XcodeMCPProxyToolVerifierCLI
[958/1032] Write Objects.LinkFileList
[960/1032] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[961/1032] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[962/1032] Compiling XcodeMCPProxyRuntime NativeHostBrokerSession.swift
[963/1032] Compiling XcodeMCPProxyRuntime NativeHostBrokerTools.swift
[964/1032] Compiling XcodeMCPProxyRuntime InitializeHandshakeParams.swift
[965/1032] Compiling XcodeMCPProxyRuntime ProxyRuntimeConfiguration.swift
[966/1032] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[967/1032] Compiling XcodeMCPProxyRuntime UpstreamStderrLogFilter.swift
[968/1033] Compiling XcodeMCPProxyTestSupport AsyncTestSupport.swift
[969/1033] Emitting module XcodeMCPProxyTestSupport
[970/1033] Compiling XcodeMCPProxyTestSupport DocumentationAssetFixture.swift
[971/1033] Emitting module NIOHTTP1
[972/1033] Compiling XcodeMCPProxyRuntime NativeBrokerTurns.swift
[973/1033] Compiling XcodeMCPProxyRuntime NativeHostBroker.swift
[974/1033] Compiling XcodeMCPProxyRuntime XcodeHostInventory.swift
[975/1033] Compiling XcodeMCPProxyRuntime ToolCallNormalizer.swift
[976/1033] Compiling XcodeMCPProxyRuntime ToolCatalogStartupLogFormatter.swift
[977/1033] Compiling XcodeMCPProxyRuntime XcodeToolCatalog.swift
[978/1033] Compiling XcodeMCPProxyRuntime InitializeHandshakeJSON.swift
[979/1033] Compiling XcodeMCPProxyRuntime NativeHostBrokerOperation.swift
[980/1033] Compiling XcodeMCPProxyRuntime NativeHostBrokerScopes.swift
[981/1033] Compiling XcodeMCPProxyRuntime NativeHostConnection.swift
[982/1033] Compiling XcodeMCPProxyRuntime NativeHostRuntime.swift
[983/1033] Compiling XcodeMCPProxyRuntime ProxyLogging.swift
[983/1033] Linking xcode-mcp-proxy-tool-verifier
[984/1033] Applying xcode-mcp-proxy-tool-verifier
[986/1046] Compiling XcodeMCPProxyHTTP HTTPRequestValidator.swift
[987/1046] Compiling XcodeMCPProxyHTTP HTTPResponseWriter.swift
[992/1047] Compiling XcodeMCPProxyHTTP HTTPHandler.swift
[993/1047] Compiling XcodeMCPProxyHTTP HTTPRequestSecurityPolicy.swift
[1000/1047] Compiling XcodeMCPProxyHTTP ProxyHTTPConfiguration.swift
[1001/1047] Compiling XcodeMCPProxyHTTP ProxyHTTPChildChannelInitializer.swift
[1002/1047] Compiling XcodeMCPProxyHTTP MCPResponseEmitter.swift
[1003/1047] Compiling XcodeMCPProxyHTTP HTTPRoute.swift
[1004/1047] Compiling XcodeMCPProxyHTTP HTTPSessionStore.swift
[1005/1047] Compiling XcodeMCPProxyHTTP ProxyHTTPGateway.swift
[1006/1047] Emitting module XcodeMCPProxyHTTP
[1007/1047] Compiling XcodeMCPProxyHTTP HTTPControlService.swift
[1008/1047] Compiling XcodeMCPProxyHTTP HTTPHandler+Responses.swift
[1011/1047] Compiling XcodeMCPProxyHTTP SSEHub.swift
[1012/1047] Compiling ABIBridge NativeSwiftType.swift
[1013/1047] Compiling ABIBridge NativeSwiftValue.swift
[1014/1047] Compiling ABIBridge NativeSwiftValueClosure.swift
[1015/1047] Compiling ABIBridge NativeSwiftValueProjection.swift
[1016/1047] Compiling ABIBridge NativeSwiftVirtualHook.swift
[1017/1047] Compiling ABIBridge NativeSwiftVirtualReplacement.swift
[1018/1047] Compiling ABIBridge NativeSymbolRequest.swift
[1019/1047] Compiling ABIBridge NativeType.swift
[1020/1047] Compiling ABIBridge NativeValue.swift
[1021/1047] Compiling ABIBridge NativeVirtualEntry.swift
[1022/1047] Compiling ABIBridge NativeVirtualHook.swift
[1023/1047] Compiling ABIBridge SwiftClassDispatch.swift
[1024/1047] Compiling ABIBridge SwiftClosureSignature.swift
[1025/1047] Compiling ABIBridge SwiftDeclaredLowering.swift
[1026/1047] Compiling ABIBridge SwiftEntry.swift
[1027/1047] Compiling ABIBridge SwiftExistentialValues.swift
[1028/1047] Compiling ABIBridge SwiftFormalTypeSyntax.swift
[1029/1047] Compiling ABIBridge SwiftFunctionSignature.swift
[1030/1047] Compiling ABIBridge SwiftGenericBinding.swift
[1031/1047] Compiling ABIBridge SwiftGenericCall.swift
[1032/1047] Compiling ABIBridge SwiftGenericDeclaration.swift
[1033/1047] Compiling ABIBridge SwiftGenericFulfillments.swift
[1034/1092] Compiling XcodeMCPNativeRuntime NativeABI.swift
[1035/1092] Compiling XcodeMCPNativeRuntime NativeActionBridge.swift
[1036/1092] Emitting module XcodeMCPProxyRuntime
[1037/1114] Compiling XcodeMCPProxyRuntimeTestSupport HostProcessConfigurationMirror.swift
[1038/1114] Compiling XcodeMCPProxyKit XcodeMCPProxyServer+Startup.swift
[1039/1114] Compiling XcodeMCPProxyKit XcodeMCPProxyServer+Launcher.swift
[1040/1114] Compiling XcodeMCPProxyKit XcodeMCPProxyServer+PermissionAutomation.swift
[1041/1114] Compiling XcodeMCPNativeRuntime NativeTestableStateCorrection.swift
[1042/1118] Emitting module XcodeMCPProxyRuntimeTestSupport
[1043/1118] Compiling XcodeMCPProxyRuntimeTestSupport FakeHostSession.swift
[1044/1118] Compiling XcodeMCPProxyKit XcodeMCPProxyLogging.swift
[1045/1118] Compiling XcodeMCPProxyKit XcodeMCPProxyRunners.swift
[1046/1118] Compiling XcodeMCPProxyKit XcodeMCPProxyServer+ExistingServerController.swift
[1047/1118] Compiling XcodeMCPProxyKit XcodeMCPProxyServer+Launch.swift
[1048/1118] Compiling XcodeMCPProxyKit XcodeMCPProxyServer+PortDiagnostics.swift
[1052/1120] Compiling XcodeMCPProxyKit ProxyInstallCommand.swift
[1053/1120] Compiling XcodeMCPProxyKit ProxyServerCommand.swift
[1054/1120] Compiling XcodeMCPProxyKit DiscoveryClient.swift
[1055/1120] Compiling XcodeMCPProxyKit ProxyFilesystemLocations.swift
[1056/1120] Compiling XcodeMCPProxyKit ProxyProductBuilder.swift
[1057/1120] Compiling XcodeMCPProxyKit ExistingProxyServerProcessController.swift
[1058/1120] Emitting module XcodeMCPProxyKit
[1059/1120] Compiling XcodeMCPProxyKit ProxyBuildInfo.swift
[1060/1120] Compiling XcodeMCPProxyKit CLICommandParser.swift
[1061/1120] Compiling XcodeMCPProxyKit XcodeMCPProxyConsole.swift
[1062/1120] Compiling XcodeMCPProxyKit XcodeMCPProxyInstaller.swift
[1063/1120] Emitting module ABIBridgeSwiftUI
[1064/1120] Compiling ABIBridgeSwiftUI NativeSwiftView.swift
[1065/1141] Compiling XcodeMCPPreviewRenderer PreviewRendererContent.swift
[1066/1141] Compiling XcodeMCPPreviewRenderer PreviewRendererMain.swift
[1067/1141] Compiling XcodeMCPNativeRuntime NativeToolBackend.swift
[1068/1141] Compiling XcodeMCPNativeRuntime NativeToolSchema.swift
[1069/1141] Compiling XcodeMCPNativeRuntime NativeToolSelection.swift
[1070/1141] Compiling XcodeMCPNativeRuntime NativeWorkspaceDocument.swift
[1071/1145] Compiling XcodeMCPPreviewRenderer WatchSnapshot.swift
[1072/1145] Compiling XcodeMCPPreviewRenderer WidgetEnvironment.swift
[1073/1147] Emitting module XcodeMCPPreviewRenderer
[1074/1147] Compiling XcodeMCPNativeRuntime NativePreviewPlatform.swift
[1075/1147] Compiling XcodeMCPNativeRuntime NativePreviewProcess.swift
[1076/1147] Compiling XcodeMCPNativeRuntime NativePreviewProductSignature.swift
[1077/1147] Compiling XcodeMCPNativeRuntime NativePreviewRenderQueue.swift
[1078/1147] Compiling XcodeMCPNativeRuntime NativeHostEnvironment.swift
[1079/1147] Compiling XcodeMCPNativeRuntime NativeLaunchOwnership.swift
[1080/1147] Compiling XcodeMCPNativeRuntime NativeMCPSession.swift
[1081/1147] Compiling XcodeMCPNativeRuntime NativeMetalToolchain.swift
[1082/1147] Compiling XcodeMCPNativeRuntime NativeOrganizerAccessibility.swift
[1083/1147] Compiling XcodeMCPPreviewRenderer WidgetPreview.swift
[1084/1147] Compiling XcodeMCPPreviewRenderer WidgetVariants.swift
[1085/1147] Emitting module XcodeMCPProxyInstall
[1086/1147] Compiling XcodeMCPProxyInstall main.swift
[1087/1147] Emitting module XcodeMCPProxyServer
[1088/1147] Compiling XcodeMCPProxyServer XcodeMCPProxyServer.swift
[1088/1147] Write Objects.LinkFileList
[1091/1147] 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>
[1092/1147] 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>
[1093/1147] 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>
[1094/1147] 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>
[1095/1147] Compiling XcodeMCPPreviewRenderer PreviewRendererWatch.swift
[1096/1147] Compiling XcodeMCPPreviewRenderer PreviewSnapshot.swift
[1097/1147] Compiling XcodeMCPPreviewRenderer PreviewRendererSession.swift
[1098/1147] Compiling XcodeMCPPreviewRenderer PreviewRendererUIKit.swift
[1101/1147] Compiling XcodeMCPPreviewRenderer PreviewSnapshotWindow.swift
[1102/1147] Compiling XcodeMCPPreviewRenderer PreviewView.swift
[1103/1147] Compiling XcodeMCPPreviewRenderer NativeWidgetPreview.swift
[1104/1147] Compiling XcodeMCPPreviewRenderer PreviewDisplay.swift
[1105/1147] Compiling XcodeMCPPreviewRenderer PreviewMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPPreviewRenderer/PreviewMetadata.swift:205:25: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
203 | let metadata = unsafe unsafeBitCast(Value.self, to: UnsafeRawPointer.self)
204 | var tag: UInt32 = 0
205 | let found = withUnsafePointer(to: value) { unsafe ABISwiftGetEnumTag(metadata, $0, &tag) }
| | `- note: argument #1 in call to global function 'withUnsafePointer' has unsafe type '(UnsafePointer<Value>) -> Bool'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
206 | var info = unsafe ABISwiftEnumCaseInfo()
207 | guard found, unsafe ABISwiftGetEnumCaseInfo(metadata, Int(tag), &info), let name = unsafe info.name else {
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1106/1147] Compiling XcodeMCPPreviewRenderer PreviewRendererAppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPPreviewRenderer/PreviewMetadata.swift:205:25: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
203 | let metadata = unsafe unsafeBitCast(Value.self, to: UnsafeRawPointer.self)
204 | var tag: UInt32 = 0
205 | let found = withUnsafePointer(to: value) { unsafe ABISwiftGetEnumTag(metadata, $0, &tag) }
| | `- note: argument #1 in call to global function 'withUnsafePointer' has unsafe type '(UnsafePointer<Value>) -> Bool'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
206 | var info = unsafe ABISwiftEnumCaseInfo()
207 | guard found, unsafe ABISwiftGetEnumCaseInfo(metadata, Int(tag), &info), let name = unsafe info.name else {
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1107/1147] Compiling XcodeMCPPreviewRenderer ActivityPreview.swift
[1108/1147] Compiling XcodeMCPPreviewRenderer AppKitSnapshot.swift
[1109/1147] Compiling XcodeMCPPreviewRenderer ClockKitPreview.swift
[1110/1147] Compiling XcodeMCPPreviewRenderer LegacyActivityPreview.swift
[1111/1147] Compiling XcodeMCPPreviewRenderer LegacyPreviewMetadata.swift
[1112/1147] Compiling XcodeMCPPreviewRenderer NativePreviewService.swift
[1112/1147] Write Objects.LinkFileList
libtool: warning: 'ABIBridgeCore.cpp.o' has no symbols
libtool: warning: 'UnsupportedArchitecture.S.o' has no symbols
libtool: warning: 'mach-o-linux.c.o' has no symbols
libtool: warning: 'ffi_arm64_32.c.o' has no symbols
libtool: warning: 'sysv_arm64_32.S.o' has no symbols
libtool: warning: 'ffi64_x86_64.c.o' has no symbols
libtool: warning: 'ffiw64_x86_64.c.o' has no symbols
libtool: warning: 'unix64_x86_64.S.o' has no symbols
libtool: warning: 'win64_x86_64.S.o' has no symbols
[1113/1147] Archiving libXcodeMCPPreviewRenderer.a
[1114/1147] Linking xcode-mcp-proxy-install
[1115/1147] Linking xcode-mcp-proxy-server
[1116/1147] Applying xcode-mcp-proxy-install
[1117/1147] Applying xcode-mcp-proxy-server
[1119/1147] Emitting module XcodeMCPNativeRuntime
/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/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 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/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 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/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 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/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 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/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 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewBuild.swift:1254:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1252 | as: ((NSMutableDictionary, AnyObject, AnyObject, Bool, Bool, AnyObject?, UnsafeMutableRawPointer?) -> Bool).self)))
1253 | var errorAddress: UnsafeRawPointer?
1254 | 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]
1255 | try unsafe add.unsafeInvoke(environment, buildParameters, buildable, false, false, nil, UnsafeMutableRawPointer($0))
1256 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewBuild.swift:1254:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1252 | as: ((NSMutableDictionary, AnyObject, AnyObject, Bool, Bool, AnyObject?, UnsafeMutableRawPointer?) -> Bool).self)))
1253 | var errorAddress: UnsafeRawPointer?
1254 | 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]
1255 | try unsafe add.unsafeInvoke(environment, buildParameters, buildable, false, false, nil, UnsafeMutableRawPointer($0))
1256 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewBuild.swift:1254:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1252 | as: ((NSMutableDictionary, AnyObject, AnyObject, Bool, Bool, AnyObject?, UnsafeMutableRawPointer?) -> Bool).self)))
1253 | var errorAddress: UnsafeRawPointer?
1254 | 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]
1255 | try unsafe add.unsafeInvoke(environment, buildParameters, buildable, false, false, nil, UnsafeMutableRawPointer($0))
1256 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewBuild.swift:1254:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1252 | as: ((NSMutableDictionary, AnyObject, AnyObject, Bool, Bool, AnyObject?, UnsafeMutableRawPointer?) -> Bool).self)))
1253 | var errorAddress: UnsafeRawPointer?
1254 | 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]
1255 | try unsafe add.unsafeInvoke(environment, buildParameters, buildable, false, false, nil, UnsafeMutableRawPointer($0))
1256 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewBuild.swift:1254:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
1252 | as: ((NSMutableDictionary, AnyObject, AnyObject, Bool, Bool, AnyObject?, UnsafeMutableRawPointer?) -> Bool).self)))
1253 | var errorAddress: UnsafeRawPointer?
1254 | 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]
1255 | try unsafe add.unsafeInvoke(environment, buildParameters, buildable, false, false, nil, UnsafeMutableRawPointer($0))
1256 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
/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>
/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>
/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>
[1138/1147] Compiling XcodeMCPNativeRuntime NativeExecutionQueue.swift
/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>
[1139/1147] Compiling XcodeMCPNativeRuntime NativeHostDiagnostic.swift
/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>
[1140/1147] Compiling XcodeMCPNativeRuntime NativePreviewBuildInputs.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewCorrection.swift:523:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
521 | private static func rendererIsRunning(_ identifier: Int32, executable: URL) throws -> Bool {
522 | var buffer = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
523 | 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]
524 | unsafe proc_pidpath(identifier, bytes.baseAddress, UInt32(bytes.count))
525 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewCorrection.swift:530:20: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
528 | return false
529 | }
530 | 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]
531 | // A stopped renderer's PID may have been reused by an unrelated process.
532 | return URL(filePath: path).resolvingSymlinksInPath() == executable.resolvingSymlinksInPath()
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1141/1147] Compiling XcodeMCPNativeRuntime NativePreviewCorrection.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewCorrection.swift:523:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
521 | private static func rendererIsRunning(_ identifier: Int32, executable: URL) throws -> Bool {
522 | var buffer = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
523 | 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]
524 | unsafe proc_pidpath(identifier, bytes.baseAddress, UInt32(bytes.count))
525 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewCorrection.swift:530:20: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
528 | return false
529 | }
530 | 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]
531 | // A stopped renderer's PID may have been reused by an unrelated process.
532 | return URL(filePath: path).resolvingSymlinksInPath() == executable.resolvingSymlinksInPath()
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1142/1147] Compiling XcodeMCPNativeRuntime NativePreviewEntitlements.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewCorrection.swift:523:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
521 | private static func rendererIsRunning(_ identifier: Int32, executable: URL) throws -> Bool {
522 | var buffer = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
523 | 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]
524 | unsafe proc_pidpath(identifier, bytes.baseAddress, UInt32(bytes.count))
525 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewCorrection.swift:530:20: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
528 | return false
529 | }
530 | 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]
531 | // A stopped renderer's PID may have been reused by an unrelated process.
532 | return URL(filePath: path).resolvingSymlinksInPath() == executable.resolvingSymlinksInPath()
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1143/1147] Compiling XcodeMCPNativeRuntime NativePreviewFileMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewCorrection.swift:523:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
521 | private static func rendererIsRunning(_ identifier: Int32, executable: URL) throws -> Bool {
522 | var buffer = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
523 | 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]
524 | unsafe proc_pidpath(identifier, bytes.baseAddress, UInt32(bytes.count))
525 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewCorrection.swift:530:20: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
528 | return false
529 | }
530 | 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]
531 | // A stopped renderer's PID may have been reused by an unrelated process.
532 | return URL(filePath: path).resolvingSymlinksInPath() == executable.resolvingSymlinksInPath()
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1144/1147] Compiling XcodeMCPNativeRuntime NativePreviewInputSnapshot.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewCorrection.swift:523:21: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
521 | private static func rendererIsRunning(_ identifier: Int32, executable: URL) throws -> Bool {
522 | var buffer = [CChar](repeating: 0, count: 4 * Int(MAXPATHLEN))
523 | 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]
524 | unsafe proc_pidpath(identifier, bytes.baseAddress, UInt32(bytes.count))
525 | }
/Users/admin/builder/spi-builder-workspace/Sources/XcodeMCPNativeRuntime/NativePreviewCorrection.swift:530:20: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
528 | return false
529 | }
530 | 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]
531 | // A stopped renderer's PID may have been reused by an unrelated process.
532 | return URL(filePath: path).resolvingSymlinksInPath() == executable.resolvingSymlinksInPath()
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[1145/1149] 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>
[1146/1149] Emitting module XcodeMCPNativeHost
[1146/1149] Write Objects.LinkFileList
[1147/1149] Linking xcode-mcp-native-host
[1148/1149] Applying xcode-mcp-native-host
Build complete! (89.29s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/p-x9/MachOKit.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/lynnswap/ABIBridge.git
Fetching https://github.com/apple/swift-nio.git
[1/8544] Fetching swift-log
[2/17124] Fetching swift-log, machokit
[3/32488] Fetching swift-log, machokit, abibridge
[3973/51930] Fetching swift-log, machokit, abibridge, swift-argument-parser
[37933/138880] Fetching swift-log, machokit, abibridge, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.82s)
Fetched https://github.com/lynnswap/ABIBridge.git from cache (1.82s)
[20602/104074] Fetching swift-log, machokit, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.43s)
Fetched https://github.com/apple/swift-log.git from cache (7.43s)
Fetched https://github.com/p-x9/MachOKit.git from cache (7.43s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (8.10s)
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.67s)
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
[1/259] Fetching objectarchivekit
[115/521] Fetching objectarchivekit, swift-binary-parse-support
[262/612] Fetching objectarchivekit, swift-binary-parse-support, swift-fileio-extra
[353/1333] Fetching objectarchivekit, swift-binary-parse-support, swift-fileio-extra, swift-fileio
[397/20320] Fetching objectarchivekit, swift-binary-parse-support, swift-fileio-extra, swift-fileio, swift-crypto
Fetched https://github.com/p-x9/swift-fileio.git from cache (2.73s)
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (2.74s)
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (2.74s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.74s)
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (2.74s)
Computing version for https://github.com/lynnswap/ABIBridge.git
Computed https://github.com/lynnswap/ABIBridge.git at 0.17.0 (3.36s)
Fetching https://github.com/p-x9/swift-objc-dump.git
Fetching https://github.com/lynnswap/ZDLibffi.git
[1/483] Fetching swift-objc-dump
[64/1283] Fetching swift-objc-dump, zdlibffi
Fetched https://github.com/p-x9/swift-objc-dump.git from cache (0.81s)
[128/800] Fetching zdlibffi
Fetched https://github.com/lynnswap/ZDLibffi.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.70s)
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.61s)
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.56s)
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.55s)
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.58s)
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.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.59s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (3.15s)
Fetching https://github.com/apple/swift-asn1.git
[1/2082] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.99s)
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.69s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1936] Fetching swift-atomics
[427/9555] Fetching swift-atomics, swift-system
[6128/39900] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.99s)
Fetched https://github.com/apple/swift-atomics.git from cache (3.99s)
Fetched https://github.com/apple/swift-system.git from cache (3.99s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (4.59s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.62s)
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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/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/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/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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
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/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/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/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/lynnswap/ZDLibffi.git
Working copy of https://github.com/lynnswap/ZDLibffi.git resolved at 0.380.1
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
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/lynnswap/ABIBridge.git
Working copy of https://github.com/lynnswap/ABIBridge.git resolved at 0.17.0
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" : "XcodeMCPProxyKit",
"targets" : [
"XcodeMCPProxyKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "xcode-mcp-proxy-server",
"targets" : [
"XcodeMCPProxyServer"
],
"type" : {
"executable" : null
}
},
{
"name" : "xcode-mcp-proxy-install",
"targets" : [
"XcodeMCPProxyInstall"
],
"type" : {
"executable" : null
}
},
{
"name" : "xcode-mcp-proxy-tool-verifier",
"targets" : [
"XcodeMCPProxyToolVerifierCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "xcode-mcp-native-host",
"targets" : [
"XcodeMCPNativeHost"
],
"type" : {
"executable" : null
}
},
{
"name" : "XcodeMCPPreviewRenderer",
"targets" : [
"XcodeMCPPreviewRenderer"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "ProxyBuildInfoTool",
"targets" : [
"ProxyBuildInfoTool"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "XcodeMCPWire",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPWire",
"path" : "Sources/XcodeMCPWire",
"product_memberships" : [
"XcodeMCPKit",
"XcodeMCPKitTesting",
"XcodeMCPProxyKit",
"xcode-mcp-proxy-server",
"xcode-mcp-proxy-install",
"xcode-mcp-proxy-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" : "XcodeMCPProxyToolVerifierCLI",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProxyToolVerifierCLI",
"path" : "Sources/XcodeMCPProxyToolVerifierCLI",
"product_memberships" : [
"xcode-mcp-proxy-tool-verifier"
],
"sources" : [
"XcodeMCPProxyToolVerifierCLI.swift"
],
"target_dependencies" : [
"XcodeMCPProxyToolVerifier"
],
"type" : "executable"
},
{
"c99name" : "XcodeMCPProxyToolVerifier",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProxyToolVerifier",
"path" : "Sources/XcodeMCPProxyToolVerifier",
"product_memberships" : [
"xcode-mcp-proxy-tool-verifier"
],
"sources" : [
"PreviewCapture.swift",
"PreviewComparison.swift",
"PreviewFixture.swift",
"PreviewVerifierCommand.swift",
"XcodeMCPProxyToolVerifier.swift"
],
"target_dependencies" : [
"XcodeMCPKit"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPProxyTestSupport",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProxyTestSupport",
"path" : "Tests/XcodeMCPProxyTestSupport",
"product_dependencies" : [
"NIO",
"NIOConcurrencyHelpers"
],
"sources" : [
"AsyncTestSupport.swift",
"DocumentationAssetFixture.swift"
],
"target_dependencies" : [
"XcodeMCPCoreTestSupport"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPProxyServer",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProxyServer",
"path" : "Sources/XcodeMCPProxyServer",
"product_memberships" : [
"xcode-mcp-proxy-server"
],
"sources" : [
"XcodeMCPProxyServer.swift"
],
"target_dependencies" : [
"XcodeMCPProxyKit"
],
"type" : "executable"
},
{
"c99name" : "XcodeMCPProxyRuntimeTests",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProxyRuntimeTests",
"path" : "Tests/XcodeMCPProxyRuntimeTests",
"product_dependencies" : [
"Logging",
"NIO",
"NIOConcurrencyHelpers",
"NIOEmbedded"
],
"sources" : [
"NativeBrokerTurnsTests.swift",
"NativeHostBrokerTests.swift",
"NativeHostConnectionTests.swift",
"NativeHostRuntimeTests.swift",
"NativeHostTestSupport.swift",
"ProxyLoggingTests.swift",
"StableToolCatalogTests.swift",
"ToolCallNormalizerTests.swift",
"ToolCatalogStartupLogFormatterTests.swift"
],
"target_dependencies" : [
"XcodeMCPProxyRuntimeTestSupport",
"XcodeMCPProxyRuntimeContract",
"XcodeMCPCore",
"XcodeMCPProxyRuntime",
"XcodeMCPProxyTestSupport"
],
"type" : "test"
},
{
"c99name" : "XcodeMCPProxyRuntimeTestSupport",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProxyRuntimeTestSupport",
"path" : "Tests/XcodeMCPProxyRuntimeTestSupport",
"product_dependencies" : [
"NIOCore"
],
"sources" : [
"FakeHostSession.swift",
"HostProcessConfigurationMirror.swift"
],
"target_dependencies" : [
"XcodeMCPCore",
"XcodeMCPProxyRuntime",
"XcodeMCPProxyTestSupport"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPProxyRuntimeContract",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProxyRuntimeContract",
"path" : "Sources/XcodeMCPProxyRuntimeContract",
"product_memberships" : [
"XcodeMCPProxyKit",
"xcode-mcp-proxy-server",
"xcode-mcp-proxy-install"
],
"sources" : [
"ProxyRuntimeServing.swift"
],
"target_dependencies" : [
"XcodeMCPCore"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPProxyRuntime",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProxyRuntime",
"path" : "Sources/XcodeMCPProxyRuntime",
"product_dependencies" : [
"Logging",
"NIO",
"NIOFoundationCompat",
"NIOConcurrencyHelpers"
],
"product_memberships" : [
"XcodeMCPProxyKit",
"xcode-mcp-proxy-server",
"xcode-mcp-proxy-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/InitializeHandshakeJSON.swift",
"Configuration/InitializeHandshakeParams.swift",
"Configuration/ProxyRuntimeConfiguration.swift",
"Host/NativeHostConnection.swift",
"Host/NativeHostRuntime.swift",
"Host/UpstreamStderrLogFilter.swift",
"Host/XcodeHostInventory.swift",
"Support/ProxyLogging.swift"
],
"target_dependencies" : [
"XcodeMCPInstallation",
"XcodeMCPProxyRuntimeContract",
"XcodeMCPCore",
"XcodeMCPWire"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPProxyKit",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProxyKit",
"path" : "Sources/XcodeMCPProxyKit",
"product_dependencies" : [
"ArgumentParser",
"Logging"
],
"product_memberships" : [
"XcodeMCPProxyKit",
"xcode-mcp-proxy-server",
"xcode-mcp-proxy-install"
],
"sources" : [
"Internal/BuildInfo/ProxyBuildInfo.swift",
"Internal/CLI/Common/CLICommandParser.swift",
"Internal/CLI/Install/ProxyInstallCommand.swift",
"Internal/CLI/Server/ProxyServerCommand.swift",
"Internal/Install/ProxyProductBuilder.swift",
"Internal/Process/ExistingProxyServerProcessController.swift",
"Internal/Support/DiscoveryClient.swift",
"Internal/Support/ProxyFilesystemLocations.swift",
"XcodeMCPProxyConsole.swift",
"XcodeMCPProxyInstaller.swift",
"XcodeMCPProxyLogging.swift",
"XcodeMCPProxyRunners.swift",
"XcodeMCPProxyServer+ExistingServerController.swift",
"XcodeMCPProxyServer+Launch.swift",
"XcodeMCPProxyServer+Launcher.swift",
"XcodeMCPProxyServer+PermissionAutomation.swift",
"XcodeMCPProxyServer+PortDiagnostics.swift",
"XcodeMCPProxyServer+Startup.swift",
"XcodeMCPProxyServer.swift"
],
"target_dependencies" : [
"XcodeMCPProxyRuntimeContract",
"XcodeMCPCore",
"XcodeMCPKit",
"XcodeMCPProxyRuntime",
"XcodeMCPProxyHTTP",
"XcodeMCPPermissionAutomation",
"ProxyBuildInfoPlugin"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPProxyInstall",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProxyInstall",
"path" : "Sources/XcodeMCPProxyInstall",
"product_memberships" : [
"xcode-mcp-proxy-install"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"XcodeMCPProxyKit"
],
"type" : "executable"
},
{
"c99name" : "XcodeMCPProxyHTTPTests",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProxyHTTPTests",
"path" : "Tests/XcodeMCPProxyHTTPTests",
"product_dependencies" : [
"Logging",
"NIO",
"NIOEmbedded",
"NIOHTTP1"
],
"sources" : [
"HTTPEventDeliveryStoreTests.swift",
"HTTPResponseWriterLoggingTests.swift",
"HTTPSessionStoreTests.swift",
"ProxyHTTPGatewayTests.swift",
"SSEHubTests.swift"
],
"target_dependencies" : [
"XcodeMCPProxyRuntimeContract",
"XcodeMCPProxyHTTP"
],
"type" : "test"
},
{
"c99name" : "XcodeMCPProxyHTTP",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProxyHTTP",
"path" : "Sources/XcodeMCPProxyHTTP",
"product_dependencies" : [
"Logging",
"NIO",
"NIOHTTP1",
"NIOFoundationCompat",
"NIOConcurrencyHelpers"
],
"product_memberships" : [
"XcodeMCPProxyKit",
"xcode-mcp-proxy-server",
"xcode-mcp-proxy-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/ProxyHTTPChildChannelInitializer.swift",
"HTTP/ProxyHTTPConfiguration.swift",
"HTTP/ProxyHTTPGateway.swift",
"HTTP/SSEHub.swift"
],
"target_dependencies" : [
"XcodeMCPProxyRuntimeContract",
"XcodeMCPCore"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPProcessRuntimeTests",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPProcessRuntimeTests",
"path" : "Tests/XcodeMCPProcessRuntimeTests",
"sources" : [
"ProcessControlClientTests.swift",
"ProcessRunnerTests.swift",
"ProcessTestEnvironment.swift",
"UpstreamProcessTests.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" : [
"XcodeMCPProxyKit",
"xcode-mcp-proxy-server",
"xcode-mcp-proxy-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",
"NativeCrashToolCorrectionTests.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",
"NativePreviewCorrectionTests.swift",
"NativePreviewDiscoveryTests.swift",
"NativePreviewEntitlementsTests.swift",
"NativePreviewInputSnapshotTests.swift",
"NativePreviewLocationTests.swift",
"NativePreviewOptionsTests.swift",
"NativePreviewProcessTests.swift",
"NativePreviewProductSignatureTests.swift",
"NativePreviewRenderQueueTests.swift",
"NativePreviewSnapshotTests.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",
"NativeCrashToolCorrection.swift",
"NativeDocumentationSearchAsset.swift",
"NativeErrorPresentation.swift",
"NativeExecutionOperations.swift",
"NativeExecutionQueue.swift",
"NativeHostDiagnostic.swift",
"NativeHostEnvironment.swift",
"NativeLaunchOwnership.swift",
"NativeMCPSession.swift",
"NativeMetalToolchain.swift",
"NativeOrganizerAccessibility.swift",
"NativeOrganizerApplication.swift",
"NativeOrganizerCrashCache.swift",
"NativeOrganizerCrashService.swift",
"NativePreviewBinary.swift",
"NativePreviewBuild.swift",
"NativePreviewBuildInputs.swift",
"NativePreviewCorrection.swift",
"NativePreviewEntitlements.swift",
"NativePreviewFileMetadata.swift",
"NativePreviewInputSnapshot.swift",
"NativePreviewPlatform.swift",
"NativePreviewProcess.swift",
"NativePreviewProductSignature.swift",
"NativePreviewRenderQueue.swift",
"NativePreviewSnapshot.swift",
"NativeRuntimeError.swift",
"NativeSimulatorLaunchCorrection.swift",
"NativeTestableStateCorrection.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",
"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",
"XcodeMCPProxyKit",
"xcode-mcp-proxy-server",
"xcode-mcp-proxy-install",
"xcode-mcp-proxy-tool-verifier"
],
"sources" : [
"Internal/ClientRuntime/InitializedMCPClientSession.swift",
"Internal/ClientRuntime/MCPClientSessionAuthority.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" : [
"XcodeMCPProxyKit",
"xcode-mcp-proxy-server",
"xcode-mcp-proxy-install",
"xcode-mcp-native-host"
],
"sources" : [
"XcodeInstallation.swift",
"XcodeInstallationDiscovery.swift"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPCoreTests",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPCoreTests",
"path" : "Tests/XcodeMCPCoreTests",
"product_dependencies" : [
"NIO",
"NIOConcurrencyHelpers",
"NIOEmbedded"
],
"sources" : [
"AsyncTestSupportTests.swift",
"CoreHTTPClientLifecycleTests.swift",
"DiscoveryTests.swift",
"JSONRPCWireContractTests.swift",
"JSONValueTests.swift",
"MCPProtocolVersionTests.swift",
"NativeHostInvocationTests.swift",
"RequestInspectorTests.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",
"UpstreamProcessFixture.swift"
],
"target_dependencies" : [
"XcodeMCPCore"
],
"type" : "library"
},
{
"c99name" : "XcodeMCPCore",
"module_type" : "SwiftTarget",
"name" : "XcodeMCPCore",
"path" : "Sources/XcodeMCPCore",
"product_dependencies" : [
"Logging",
"NIOCore",
"NIOConcurrencyHelpers"
],
"product_memberships" : [
"XcodeMCPKit",
"XcodeMCPKitTesting",
"XcodeMCPProxyKit",
"xcode-mcp-proxy-server",
"xcode-mcp-proxy-install",
"xcode-mcp-proxy-tool-verifier"
],
"sources" : [
"CoreRuntime/ClockClient.swift",
"CoreRuntime/Deadline.swift",
"CoreRuntime/Discovery.swift",
"CoreRuntime/JSONPayloadValidator.swift",
"CoreRuntime/MCPBridgeRuntimeError.swift",
"CoreRuntime/MCPConnectionHeaders.swift",
"CoreRuntime/MCPMethodDispatcher.swift",
"CoreRuntime/RequestInspector.swift",
"CoreRuntime/RuntimeScheduledTimeout.swift",
"CoreRuntime/SSECodec.swift",
"CoreRuntime/StreamableHTTPMCPClient.swift",
"CoreRuntime/Support/DependencyClient.swift",
"CoreRuntime/Support/FileSystemClient.swift",
"CoreRuntime/Support/TimeoutSupport.swift",
"CoreRuntime/WireTypes.swift",
"CoreRuntime/XcodeMCPRuntimeLogging.swift",
"ProcessRuntime/Bridge/UpstreamClient.swift",
"ProcessRuntime/Bridge/UpstreamProcess.swift",
"ProcessRuntime/OrderedPipeReader.swift",
"ProcessRuntime/Process/ExecutableLookupClient.swift",
"ProcessRuntime/Process/MCPBridgeInvocation.swift",
"ProcessRuntime/Process/NativeHostInvocation.swift",
"ProcessRuntime/Process/ProcessControlClient.swift",
"ProcessRuntime/Process/XcrunArguments.swift",
"ProcessRuntime/ProcessRunner.swift"
],
"target_dependencies" : [
"XcodeMCPWire"
],
"type" : "library"
},
{
"c99name" : "PublicProductContractTests",
"module_type" : "SwiftTarget",
"name" : "PublicProductContractTests",
"path" : "Tests/PublicProductContractTests",
"sources" : [
"PublicProductContractTests.swift"
],
"target_dependencies" : [
"XcodeMCPCoreTestSupport"
],
"type" : "test"
},
{
"c99name" : "ProxyToolVerifierTests",
"module_type" : "SwiftTarget",
"name" : "ProxyToolVerifierTests",
"path" : "Tests/ProxyToolVerifierTests",
"sources" : [
"PreviewVerifierTests.swift",
"ProxyToolVerifierTests.swift"
],
"target_dependencies" : [
"XcodeMCPProxyToolVerifier",
"XcodeMCPKitTesting"
],
"type" : "test"
},
{
"c99name" : "ProxyStressTests",
"module_type" : "SwiftTarget",
"name" : "ProxyStressTests",
"path" : "Tests/ProxyStressTests",
"product_dependencies" : [
"NIO",
"NIOHTTP1"
],
"sources" : [
"DocumentationSearchStressTests.swift",
"StressTestEnvironment.swift"
],
"target_dependencies" : [
"XcodeMCPCore",
"XcodeMCPKit",
"XcodeMCPProxyRuntime",
"XcodeMCPProxyHTTP",
"XcodeMCPProxyTestSupport"
],
"type" : "test"
},
{
"c99name" : "ProxyLiveMCPBridgeTests",
"module_type" : "SwiftTarget",
"name" : "ProxyLiveMCPBridgeTests",
"path" : "Tests/ProxyLiveMCPBridgeTests",
"product_dependencies" : [
"NIO"
],
"sources" : [
"LiveMCPBridgeTests.swift"
],
"target_dependencies" : [
"XcodeMCPCore",
"XcodeMCPKit",
"XcodeMCPProxyKit",
"XcodeMCPProxyRuntime"
],
"type" : "test"
},
{
"c99name" : "ProxyIntegrationTests",
"module_type" : "SwiftTarget",
"name" : "ProxyIntegrationTests",
"path" : "Tests/ProxyIntegrationTests",
"product_dependencies" : [
"Logging",
"NIO",
"NIOEmbedded",
"NIOHTTP1"
],
"sources" : [
"AsyncTestSupportCancellationTests.swift",
"ConfigurationRuntimeTests.swift",
"DiscoveryTests.swift",
"DocumentationSearchRoutingTests.swift",
"HTTPConcurrencyTests.swift",
"HTTPHandlerTestSupport.swift",
"HTTPHandlerTests.swift",
"XcodeMCPProxyServerBuildInfoTests.swift",
"XcodeMCPProxyServerTests.swift"
],
"target_dependencies" : [
"XcodeMCPCoreTestSupport",
"XcodeMCPProxyRuntimeTestSupport",
"XcodeMCPProxyRuntimeContract",
"XcodeMCPCore",
"XcodeMCPKit",
"XcodeMCPProxyKit",
"XcodeMCPProxyRuntime",
"XcodeMCPProxyHTTP",
"XcodeMCPProxyTestSupport"
],
"type" : "test"
},
{
"c99name" : "ProxyCLITests",
"module_type" : "SwiftTarget",
"name" : "ProxyCLITests",
"path" : "Tests/ProxyCLITests",
"product_dependencies" : [
"NIO",
"NIOHTTP1"
],
"sources" : [
"CLIUsageContractTests.swift",
"CommandIntegrationSupport.swift",
"CommandTestSupport.swift",
"InstallerFacadeIntegrationTests.swift",
"InstallerFacadeTests.swift",
"PublicRunnerTests.swift",
"ServerCommandTests.swift",
"ServerLauncherIntegrationTests.swift",
"ServerRunnerTests.swift"
],
"target_dependencies" : [
"XcodeMCPCore",
"XcodeMCPKit",
"XcodeMCPProxyKit",
"XcodeMCPProxyRuntime",
"XcodeMCPProxyTestSupport"
],
"type" : "test"
},
{
"c99name" : "ProxyBuildInfoTool",
"module_type" : "SwiftTarget",
"name" : "ProxyBuildInfoTool",
"path" : "Sources/ProxyBuildInfoTool",
"product_memberships" : [
"XcodeMCPProxyKit",
"xcode-mcp-proxy-server",
"xcode-mcp-proxy-install",
"ProxyBuildInfoTool"
],
"sources" : [
"ProxyBuildInfoTool.swift"
],
"type" : "executable"
},
{
"c99name" : "ProxyBuildInfoPlugin",
"module_type" : "PluginTarget",
"name" : "ProxyBuildInfoPlugin",
"path" : "Plugins/ProxyBuildInfoPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"XcodeMCPProxyKit",
"xcode-mcp-proxy-server",
"xcode-mcp-proxy-install"
],
"sources" : [
"ProxyBuildInfoPlugin.swift"
],
"target_dependencies" : [
"ProxyBuildInfoTool"
],
"type" : "plugin"
}
],
"tools_version" : "6.3"
}
Done.