Build Information
Failed to build Apple-Docs-MCP, reference v1.0.1 (a4cb12), with Swift 6.3 for Linux on 18 Apr 2026 09:57:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/justindal/Apple-Docs-MCP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[1/2745] Fetching swift-service-lifecycle
[1511/6218] Fetching swift-service-lifecycle, swift-sdk
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.69s)
[1945/3473] Fetching swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.93s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.0 (1.78s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio.git
[1/271] Fetching eventsource
[272/5872] Fetching eventsource, swift-system
[1393/12507] Fetching eventsource, swift-system, swift-log
[12508/95679] Fetching eventsource, swift-system, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.21s)
[8368/89044] Fetching eventsource, swift-system, swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (11.65s)
Fetched https://github.com/apple/swift-system.git from cache (11.66s)
Fetched https://github.com/apple/swift-nio.git from cache (11.93s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (12.81s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.08s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.83s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6247] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.16s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (2.17s)
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (3.96s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.05s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.41s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.73s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.69s)
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.3
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.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.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.6.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
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.11.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.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.4.1
Building for debugging...
[0/28] Write sources
[12/28] Compiling CSystem shims.c
[13/28] Write swift-version-24593BA9C3E375BF.txt
[15/86] Compiling SystemPackage FilePermissions.swift
[16/86] Compiling SystemPackage IOCompletion.swift
[17/88] Compiling SystemPackage Errno.swift
[18/88] Compiling SystemPackage ErrnoWindows.swift
[19/88] Compiling SystemPackage FileDescriptor.swift
[20/88] Compiling SystemPackage FilePathTempWindows.swift
[21/88] Compiling SystemPackage FilePathWindows.swift
[22/88] Compiling SystemPackage FilePathParsing.swift
[23/88] Compiling SystemPackage FilePathString.swift
[24/88] Compiling InternalCollectionsUtilities _SortedCollection.swift
[25/88] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[26/88] Compiling ConcurrencyHelpers LockedValueBox.swift
[27/88] Compiling Logging LogEvent.swift
[28/88] Emitting module SystemPackage
[32/88] Compiling SystemPackage FileHelpers.swift
[33/88] Compiling SystemPackage FileOperations.swift
[34/88] Compiling SystemPackage FilePathSyntax.swift
[35/88] Compiling SystemPackage FilePathTemp.swift
[36/88] Compiling SystemPackage FilePathTempPosix.swift
[39/88] Compiling SystemPackage FilePath.swift
[40/88] Compiling SystemPackage FilePathComponentView.swift
[41/88] Compiling SystemPackage FilePathComponents.swift
[44/88] Emitting module InternalCollectionsUtilities
[48/93] Wrapping AST for InternalCollectionsUtilities for debugging
[50/181] Compiling OrderedCollections _HashTable+Bucket.swift
[51/181] Compiling OrderedCollections _HashTable+BucketIterator.swift
[52/181] Compiling OrderedCollections _HashTable+Constants.swift
[53/181] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[54/181] Compiling OrderedCollections _HashTable+Testing.swift
[55/185] Compiling OrderedCollections OrderedSet+Equatable.swift
[56/185] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[57/185] Compiling OrderedCollections OrderedSet+Hashable.swift
[58/185] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[59/185] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[60/185] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[61/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[62/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[63/185] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[64/185] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[65/185] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[66/185] Compiling OrderedCollections OrderedDictionary+Elements.swift
[67/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[68/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[69/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[70/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[71/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[72/185] Compiling OrderedCollections OrderedDictionary.swift
[73/185] Compiling OrderedCollections OrderedSet+Codable.swift
[74/185] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[75/185] Compiling OrderedCollections OrderedSet+Descriptions.swift
[76/185] Compiling OrderedCollections OrderedSet+Diffing.swift
[77/185] Compiling ContainersPreview Box.swift
[78/185] Compiling ContainersPreview Inout.swift
[79/185] Compiling ContainersPreview InputSpan.swift
[80/185] Compiling ContainersPreview Shared.swift
[81/185] Emitting module ContainersPreview
[82/185] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[83/185] Compiling OrderedCollections _HashTable.swift
[84/185] Compiling OrderedCollections _Hashtable+Header.swift
[85/185] Compiling OrderedCollections OrderedDictionary+Codable.swift
[86/185] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[87/186] Wrapping AST for ContainersPreview for debugging
[93/226] Compiling Logging MetadataProvider.swift
[94/226] Compiling DequeModule RigidDeque+Container.swift
[95/226] Compiling DequeModule RigidDeque+Descriptions.swift
[96/226] Compiling DequeModule UniqueDeque+Consumption.swift
[97/226] Compiling DequeModule UniqueDeque+Container.swift
[98/226] Compiling DequeModule UniqueDeque+Descriptions.swift
[99/226] Compiling DequeModule UniqueDeque+Equatable.swift
[100/226] Compiling DequeModule UniqueDeque+Experimental.swift
[101/226] Compiling DequeModule RigidDeque+Removals.swift
[102/226] Emitting module ConcurrencyHelpers
[103/226] Compiling ConcurrencyHelpers Lock.swift
[104/227] Emitting module Logging
[105/227] Compiling Logging Locks.swift
[107/227] Compiling DequeModule RigidDeque+Insertions.swift
[108/227] Compiling DequeModule RigidDeque+Prepend.swift
[109/227] Compiling DequeModule _DequeBuffer.swift
[110/227] Compiling DequeModule _DequeBufferHeader.swift
[111/227] Compiling DequeModule RigidDeque+Append.swift
[112/227] Compiling DequeModule RigidDeque+Consumption.swift
[114/227] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[115/227] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[116/227] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[117/227] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[118/227] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[119/227] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[120/227] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[125/239] Wrapping AST for ConcurrencyHelpers for debugging
[127/242] Compiling DequeModule UniqueDeque+Hashable.swift
[128/242] Compiling DequeModule UniqueDeque+Initializers.swift
[129/242] Compiling DequeModule UniqueDeque+Insertions.swift
[130/242] Compiling DequeModule UniqueDeque+Prepend.swift
[131/242] Compiling DequeModule UniqueDeque+Removals.swift
[145/242] Compiling DequeModule RigidDeque+Replacements.swift
[146/242] Compiling DequeModule RigidDeque+Testing.swift
[147/242] Compiling DequeModule RigidDeque.swift
[148/242] Compiling DequeModule UniqueDeque+Append.swift
[154/242] Compiling DequeModule Deque+Testing.swift
[155/242] Compiling DequeModule Deque._Storage.swift
[156/242] Compiling DequeModule Deque._UnsafeHandle.swift
[157/242] Compiling DequeModule Deque.swift
[158/242] Compiling DequeModule RigidDeque+Equatable.swift
[159/242] Compiling DequeModule RigidDeque+Experimental.swift
[160/242] Compiling DequeModule RigidDeque+Hashable.swift
[161/242] Compiling DequeModule RigidDeque+Initializers.swift
[162/242] Compiling OrderedCollections OrderedSet+Initializers.swift
[163/242] Compiling OrderedCollections OrderedSet+Insertions.swift
[164/242] Compiling OrderedCollections OrderedSet+Invariants.swift
[165/242] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[166/242] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[167/242] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[168/242] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[169/242] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[170/242] Emitting module UnixSignals
[171/242] Compiling Logging LogHandler.swift
[172/242] Compiling Logging Logging.swift
[189/243] Compiling UnixSignals UnixSignal.swift
[190/243] Compiling UnixSignals UnixSignalsSequence.swift
[192/244] Compiling DequeModule Deque+Codable.swift
[193/244] Compiling DequeModule Deque+Collection.swift
[194/244] Compiling DequeModule Deque+CustomReflectable.swift
[195/244] Compiling DequeModule Deque+Descriptions.swift
[196/244] Compiling DequeModule Deque+Equatable.swift
[197/244] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[198/244] Compiling DequeModule Deque+Extras.swift
[199/244] Compiling DequeModule Deque+Hashable.swift
[212/244] Compiling OrderedCollections OrderedSet+Sendable.swift
[213/244] Compiling OrderedCollections OrderedSet+SubSequence.swift
[214/244] Compiling OrderedCollections OrderedSet+Testing.swift
[215/244] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[216/244] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[217/244] Compiling OrderedCollections OrderedSet.swift
[218/244] Compiling OrderedCollections _UnsafeBitset.swift
[219/244] Emitting module OrderedCollections
[219/244] Wrapping AST for Logging for debugging
[221/245] Wrapping AST for UnixSignals for debugging
[222/245] Wrapping AST for OrderedCollections for debugging
[232/246] Wrapping AST for SystemPackage for debugging
[234/247] Emitting module DequeModule
[235/289] Compiling MCP NetworkTransport.swift
[236/289] Compiling MCP StdioTransport.swift
[237/289] Compiling MCP UnitInterval.swift
[238/289] Compiling DequeModule _UnsafeDequeHandle.swift
[239/289] Compiling DequeModule _UnsafeDequeSegments.swift
[240/290] Wrapping AST for DequeModule for debugging
[242/343] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[243/343] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[244/343] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[245/343] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[246/343] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[247/343] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[248/343] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[249/343] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[250/350] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[251/350] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[252/350] Compiling AsyncAlgorithms AsyncChannel.swift
[253/350] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[254/350] Compiling AsyncAlgorithms ChannelStateMachine.swift
[255/350] Compiling AsyncAlgorithms ChannelStorage.swift
[256/350] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[257/350] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[258/350] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[259/350] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[260/350] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[261/350] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[262/350] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[263/350] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[264/350] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[265/350] Emitting module AsyncAlgorithms
[266/350] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[267/350] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[268/350] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[269/350] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[270/350] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[271/350] Compiling AsyncAlgorithms AsyncMapErrorSequence.swift
[272/350] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[273/350] Compiling AsyncAlgorithms AsyncShareSequence.swift
[274/350] Compiling AsyncAlgorithms Rethrow.swift
[275/350] Compiling AsyncAlgorithms SetAlgebra.swift
[276/350] Compiling AsyncAlgorithms UnsafeTransfer.swift
[277/350] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[278/350] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[279/350] Compiling AsyncAlgorithms ZipStateMachine.swift
[280/350] Compiling AsyncAlgorithms ZipStorage.swift
[282/350] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[283/350] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[284/350] Compiling AsyncAlgorithms CombineLatestStorage.swift
[285/350] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[286/350] Compiling AsyncAlgorithms DebounceStateMachine.swift
[293/355] Compiling AsyncAlgorithms DebounceStorage.swift
[294/355] Compiling AsyncAlgorithms Dictionary.swift
[295/355] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[296/355] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[297/355] Compiling AsyncAlgorithms MergeStateMachine.swift
[298/355] Compiling AsyncAlgorithms MergeStorage.swift
[299/355] Emitting module MCP
[312/355] Compiling MCP Server.swift
[313/355] Compiling MCP Tools.swift
[314/355] Compiling AsyncAlgorithms FlatMapLatestStorage.swift
[315/355] Compiling AsyncAlgorithms Disconnected.swift
[316/355] Compiling AsyncAlgorithms _TinyArray.swift
[317/355] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[318/355] Compiling AsyncAlgorithms Locking.swift
[323/355] Compiling MCP Logging.swift
[324/355] Compiling MCP Prompts.swift
[325/355] Compiling MCP Resources.swift
[339/360] Wrapping AST for AsyncAlgorithms for debugging
[341/365] Compiling ServiceLifecycle Service.swift
[342/366] Compiling ServiceLifecycle ClosureService.swift
[343/366] Compiling ServiceLifecycle CancellationWaiter.swift
[344/366] Compiling ServiceLifecycle ServiceRunnerError.swift
[345/366] Compiling ServiceLifecycle AsyncCancelOnGracefulShutdownSequence.swift
[346/366] Compiling ServiceLifecycle AsyncGracefulShutdownSequence.swift
[347/366] Compiling ServiceLifecycle ServiceGroupConfiguration.swift
[348/366] Emitting module ServiceLifecycle
[349/366] Compiling ServiceLifecycle GracefulShutdown.swift
[350/366] Compiling ServiceLifecycle ServiceGroup.swift
[351/367] Wrapping AST for ServiceLifecycle for debugging
[364/368] Wrapping AST for MCP for debugging
[366/386] Compiling Apple_Docs_MCP TopicSection.swift
[367/386] Compiling Apple_Docs_MCP ClientError.swift
[368/388] Compiling Apple_Docs_MCP HTTPDataDownloader.swift
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/HTTPDataDownloader.swift:8:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
6 |
7 | /// HTTPDataDownloader configuration.
8 | extension URLSession: HTTPDataDownloader {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
9 |
10 | /// Get data from given URL.
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[369/388] Compiling Apple_Docs_MCP Normalize.swift
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/HTTPDataDownloader.swift:8:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
6 |
7 | /// HTTPDataDownloader configuration.
8 | extension URLSession: HTTPDataDownloader {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
9 |
10 | /// Get data from given URL.
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[370/388] Compiling Apple_Docs_MCP Declaration.swift
[371/388] Compiling Apple_Docs_MCP Framework.swift
[372/388] Compiling Apple_Docs_MCP InlineContent.swift
[373/388] Compiling Apple_Docs_MCP Metadata.swift
[374/388] Compiling Apple_Docs_MCP Reference.swift
[375/388] Compiling Apple_Docs_MCP Apple_Docs_MCP.swift
[376/388] Compiling Apple_Docs_MCP MCPService.swift
[377/388] Compiling Apple_Docs_MCP SymbolSearch.swift
[378/388] Compiling Apple_Docs_MCP Section.swift
[379/388] Compiling Apple_Docs_MCP Topic.swift
[380/388] Compiling Apple_Docs_MCP ToolHandlers.swift
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:24:37: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
22 |
23 | default:
24 | return .init(content: [.text("Unknown tool")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
25 | }
26 | }
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:31:14: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
32 | ])
33 | }
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:41:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
42 | isError: true
43 | )
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:63:30: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
61 | return CallTool.Result(
62 | content: [
63 | .text("Invalid URL path construction.")
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
64 | ],
65 | isError: true
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:72:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
70 | }
71 |
72 | return CallTool.Result(content: [.text(topic.markdown)])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
73 |
74 | } catch {
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:77:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
75 | return CallTool.Result(
76 | content: [
77 | .text(
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
78 | "Failed to fetch documentation for '\(cleanPath)': \(error)"
79 | )
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:97:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
95 | return CallTool.Result(
96 | content: [
97 | .text("Missing 'query' or valid 'framework'")
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
98 | ],
99 | isError: true
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:108:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
109 | ])
110 | }
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:116:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
114 | if matches.isEmpty {
115 | return CallTool.Result(content: [
116 | .text(
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
117 | "No symbols found matching '\(query)' in \(frameworkName)."
118 | )
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:131:18: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
129 |
130 | return CallTool.Result(content: [
131 | .text(
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
132 | "Found \(matches.count) matches:\n"
133 | + resultLines.joined(separator: "\n")
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:139:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
137 | } catch {
138 | return CallTool.Result(
139 | content: [.text("Search failed: \(error)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
140 | isError: true
141 | )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[381/388] Compiling Apple_Docs_MCP Toolbox.swift
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:24:37: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
22 |
23 | default:
24 | return .init(content: [.text("Unknown tool")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
25 | }
26 | }
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:31:14: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
32 | ])
33 | }
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:41:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
42 | isError: true
43 | )
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:63:30: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
61 | return CallTool.Result(
62 | content: [
63 | .text("Invalid URL path construction.")
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
64 | ],
65 | isError: true
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:72:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
70 | }
71 |
72 | return CallTool.Result(content: [.text(topic.markdown)])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
73 |
74 | } catch {
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:77:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
75 | return CallTool.Result(
76 | content: [
77 | .text(
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
78 | "Failed to fetch documentation for '\(cleanPath)': \(error)"
79 | )
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:97:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
95 | return CallTool.Result(
96 | content: [
97 | .text("Missing 'query' or valid 'framework'")
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
98 | ],
99 | isError: true
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:108:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
109 | ])
110 | }
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:116:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
114 | if matches.isEmpty {
115 | return CallTool.Result(content: [
116 | .text(
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
117 | "No symbols found matching '\(query)' in \(frameworkName)."
118 | )
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:131:18: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
129 |
130 | return CallTool.Result(content: [
131 | .text(
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
132 | "Found \(matches.count) matches:\n"
133 | + resultLines.joined(separator: "\n")
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:139:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
137 | } catch {
138 | return CallTool.Result(
139 | content: [.text("Search failed: \(error)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
140 | isError: true
141 | )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[382/388] Compiling Apple_Docs_MCP ContentBlock.swift
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:24:37: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
22 |
23 | default:
24 | return .init(content: [.text("Unknown tool")], isError: true)
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
25 | }
26 | }
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:31:14: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
32 | ])
33 | }
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:41:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
42 | isError: true
43 | )
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:63:30: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
61 | return CallTool.Result(
62 | content: [
63 | .text("Invalid URL path construction.")
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
64 | ],
65 | isError: true
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:72:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
70 | }
71 |
72 | return CallTool.Result(content: [.text(topic.markdown)])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
73 |
74 | } catch {
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:77:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
75 | return CallTool.Result(
76 | content: [
77 | .text(
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
78 | "Failed to fetch documentation for '\(cleanPath)': \(error)"
79 | )
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:97:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
95 | return CallTool.Result(
96 | content: [
97 | .text("Missing 'query' or valid 'framework'")
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
98 | ],
99 | isError: true
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:108:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
109 | ])
110 | }
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:116:22: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
114 | if matches.isEmpty {
115 | return CallTool.Result(content: [
116 | .text(
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
117 | "No symbols found matching '\(query)' in \(frameworkName)."
118 | )
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:131:18: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
129 |
130 | return CallTool.Result(content: [
131 | .text(
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
132 | "Found \(matches.count) matches:\n"
133 | + resultLines.joined(separator: "\n")
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift:139:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
137 | } catch {
138 | return CallTool.Result(
139 | content: [.text("Search failed: \(error)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
140 | isError: true
141 | )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[383/388] Compiling Apple_Docs_MCP DocumentationClient.swift
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/DocumentationClient.swift:12:50: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
10 | self.session = session
11 | } else {
12 | let config = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
13 | config.urlCache = URLCache(
14 | memoryCapacity: (1024 * 1024 * 100),
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/DocumentationClient.swift:13:31: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
11 | } else {
12 | let config = URLSessionConfiguration.default
13 | config.urlCache = URLCache(
| `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
14 | memoryCapacity: (1024 * 1024 * 100),
15 | diskCapacity: (1024 * 1024 * 100)
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/DocumentationClient.swift:17:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
15 | diskCapacity: (1024 * 1024 * 100)
16 | )
17 | self.session = URLSession(configuration: config)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 | }
19 | self.decoder = JSONDecoder()
[384/388] Compiling Apple_Docs_MCP Endpoints.swift
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/DocumentationClient.swift:12:50: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
10 | self.session = session
11 | } else {
12 | let config = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
13 | config.urlCache = URLCache(
14 | memoryCapacity: (1024 * 1024 * 100),
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/DocumentationClient.swift:13:31: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
11 | } else {
12 | let config = URLSessionConfiguration.default
13 | config.urlCache = URLCache(
| `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
14 | memoryCapacity: (1024 * 1024 * 100),
15 | diskCapacity: (1024 * 1024 * 100)
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/DocumentationClient.swift:17:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
15 | diskCapacity: (1024 * 1024 * 100)
16 | )
17 | self.session = URLSession(configuration: config)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 | }
19 | self.decoder = JSONDecoder()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[385/388] Emitting module Apple_Docs_MCP
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/DocumentationClient.swift:12:50: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
10 | self.session = session
11 | } else {
12 | let config = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
13 | config.urlCache = URLCache(
14 | memoryCapacity: (1024 * 1024 * 100),
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/DocumentationClient.swift:13:31: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
11 | } else {
12 | let config = URLSessionConfiguration.default
13 | config.urlCache = URLCache(
| `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
14 | memoryCapacity: (1024 * 1024 * 100),
15 | diskCapacity: (1024 * 1024 * 100)
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/DocumentationClient.swift:17:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
15 | diskCapacity: (1024 * 1024 * 100)
16 | )
17 | self.session = URLSession(configuration: config)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 | }
19 | self.decoder = JSONDecoder()
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/HTTPDataDownloader.swift:8:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
6 |
7 | /// HTTPDataDownloader configuration.
8 | extension URLSession: HTTPDataDownloader {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
9 |
10 | /// Get data from given URL.
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.3 linux