The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Apple-Docs-MCP, reference v1.0.1 (a4cb12), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 00:12:00 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/justindal/Apple-Docs-MCP.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/justindal/Apple-Docs-MCP
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at a4cb126 chore: set swift tools version to 6.0
Cloned https://github.com/justindal/Apple-Docs-MCP.git
Revision (git rev-parse @):
a4cb126c1299d91d80af8f1eeb815427b4ca0c08
SUCCESS checkout https://github.com/justindal/Apple-Docs-MCP.git at v1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/justindal/Apple-Docs-MCP.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 423]
[Planning deferred tasks]
[91 / 197]
[97 / 202] InternalCollectionsUtilities
[106 / 224] InternalCollectionsUtilities
[112 / 224]
[117 / 264]
[123 / 264] InternalCollectionsUtilities
[135 / 264] InternalCollectionsUtilities
[142 / 270] SpanPreview
[158 / 304]
[167 / 304]
[169 / 304] InternalCollectionsUtilities
[172 / 305] OrderedCollections
[177 / 316] DequeModule
[179 / 316] Logging
[182 / 316] DequeModule
[198 / 316] SystemPackage
[204 / 316] Logging
[217 / 316]
[220 / 316]
[223 / 316] SystemPackage
[227 / 316]
[235 / 316] SystemPackage
[240 / 316] SystemPackage-product
[245 / 316] DequeModule
[248 / 316] ConcurrencyHelpers
[262 / 318] ConcurrencyHelpers
[262 / 318] DequeModule
[270 / 332] AsyncAlgorithms
[275 / 332] UnixSignals
[278 / 332] UnixSignals
[288 / 332] EventSource
[296 / 332] MCP
[300 / 333] AsyncAlgorithms
[307 / 334] AsyncAlgorithms
[307 / 334] ServiceLifecycle
[315 / 360]
[322 / 360]
[326 / 360] MCP
[330 / 360] ServiceLifecycle
[335 / 360] ServiceLifecycle
[336 / 360] ServiceLifecycle-product
[340 / 360] MCP
[341 / 360] EventSource
[345 / 360] ServiceLifecycle
[354 / 361] MCP
[354 / 361] Apple-Docs-MCP-product
[362 / 372] Apple-Docs-MCP-product
[365 / 372] Apple-Docs-MCP-product
[366 / 372] Apple-Docs-MCP-product
[367 / 372] MCP
[370 / 372] Apple-Docs-MCP-product
Build complete! (11.22 sec)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[1/2843] Fetching swift-service-lifecycle
[201/6625] Fetching swift-service-lifecycle, swift-sdk
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.55s)
Fetched https://github.com/modelcontextprotocol/swift-sdk.git (1.56s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (2.23s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/mattt/eventsource.git
[1/8165] Fetching swift-log
[2/8468] Fetching swift-log, eventsource
[353/15384] Fetching swift-log, eventsource, swift-system
Fetched https://github.com/apple/swift-system.git (1.43s)
[1/86065] Fetching swift-nio
Fetched https://github.com/apple/swift-log.git (12.26s)
Fetched https://github.com/apple/swift-nio.git (12.26s)
Fetched https://github.com/mattt/eventsource.git (12.26s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (12.92s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (0.57s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6732] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (1.80s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (2.41s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.68s)
Fetching https://github.com/apple/swift-collections.git
[1/27693] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (3.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (4.18s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.57s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.78s)
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (1.16s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.77s)
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.0
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
/Users/admin/builder/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:24:37: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 22 |
 23 |         default:
 24 |             return .init(content: [.text("Unknown tool")], isError: true)
    |                                     `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 25 |         }
 26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:31:14: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 29 |         let names = Framework.allCases.map(\.rawValue)
 30 |         return CallTool.Result(content: [
 31 |             .text(names.joined(separator: ", "))
    |              `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 32 |         ])
 33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:41:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 39 |         guard let arg = params.arguments?["path"]?.stringValue else {
 40 |             return CallTool.Result(
 41 |                 content: [.text("Missing 'path' argument")],
    |                            `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 42 |                 isError: true
 43 |             )
/Users/admin/builder/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:63:30: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 61 |                     return CallTool.Result(
 62 |                         content: [
 63 |                             .text("Invalid URL path construction.")
    |                              `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 64 |                         ],
 65 |                         isError: true
/Users/admin/builder/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:72:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 70 |             }
 71 |
 72 |             return CallTool.Result(content: [.text(topic.markdown)])
    |                                               `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 73 |
 74 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:77:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 75 |             return CallTool.Result(
 76 |                 content: [
 77 |                     .text(
    |                      `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 78 |                         "Failed to fetch documentation for '\(cleanPath)': \(error)"
 79 |                     )
/Users/admin/builder/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:97:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 95 |             return CallTool.Result(
 96 |                 content: [
 97 |                     .text("Missing 'query' or valid 'framework'")
    |                      `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 98 |                 ],
 99 |                 isError: true
/Users/admin/builder/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:108:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
106 |             guard let refs = rootTopic.references else {
107 |                 return CallTool.Result(content: [
108 |                     .text("No references found in \(frameworkName)")
    |                      `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
109 |                 ])
110 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:116:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
114 |             if matches.isEmpty {
115 |                 return CallTool.Result(content: [
116 |                     .text(
    |                      `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
117 |                         "No symbols found matching '\(query)' in \(frameworkName)."
118 |                     )
/Users/admin/builder/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:131:18: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
129 |
130 |             return CallTool.Result(content: [
131 |                 .text(
    |                  `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
132 |                     "Found \(matches.count) matches:\n"
133 |                         + resultLines.joined(separator: "\n")
/Users/admin/builder/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:139:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
137 |         } catch {
138 |             return CallTool.Result(
139 |                 content: [.text("Search failed: \(error)")],
    |                            `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
140 |                 isError: true
141 |             )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/modelcontextprotocol/swift-sdk.git"
    },
    {
      "identity" : "swift-service-lifecycle",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-service-lifecycle.git"
    }
  ],
  "manifest_display_name" : "Apple-Docs-MCP",
  "name" : "Apple-Docs-MCP",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Apple-Docs-MCP",
      "targets" : [
        "Apple-Docs-MCP"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Apple_Docs_MCP",
      "module_type" : "SwiftTarget",
      "name" : "Apple-Docs-MCP",
      "path" : "Sources/Apple-Docs-MCP",
      "product_dependencies" : [
        "MCP",
        "ServiceLifecycle"
      ],
      "product_memberships" : [
        "Apple-Docs-MCP"
      ],
      "sources" : [
        "Apple_Docs_MCP.swift",
        "MCP/Services/MCPService.swift",
        "MCP/Tools/SymbolSearch.swift",
        "MCP/Tools/ToolHandlers.swift",
        "MCP/Tools/Toolbox.swift",
        "Models/ContentBlock.swift",
        "Models/Declaration.swift",
        "Models/Framework.swift",
        "Models/InlineContent.swift",
        "Models/Metadata.swift",
        "Models/Reference.swift",
        "Models/Section.swift",
        "Models/Topic.swift",
        "Models/TopicSection.swift",
        "Networking/ClientError.swift",
        "Networking/DocumentationClient.swift",
        "Networking/Endpoints.swift",
        "Networking/HTTPDataDownloader.swift",
        "Utils/Normalize.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Done.