The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Apple-Docs-MCP, reference v1.0.1 (a4cb12), with Swift 6.0 for Linux on 1 Feb 2026 07:15:31 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/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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.0
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/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:5920b6fc7f526808de8dcf4e65806a8aca248ef5a9160d25a6b9c7489c0b8a3f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2568] Fetching swift-service-lifecycle
[1722/5331] Fetching swift-service-lifecycle, swift-sdk
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.94s)
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (1.03s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.10.2 (1.21s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
[1/5888] Fetching swift-log
[590/6087] Fetching swift-log, eventsource
[966/11629] Fetching swift-log, eventsource, swift-system
Fetched https://github.com/mattt/eventsource.git from cache (0.54s)
[5802/11430] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.93s)
Fetched https://github.com/apple/swift-system.git from cache (0.96s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.3.0 (1.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (1.89s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (1.26s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6085] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.05s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (1.41s)
Fetching https://github.com/apple/swift-collections.git
[1/19082] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.92s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (2.04s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.28s)
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.10.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.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.6.4
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.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.9.1
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.3.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.9.1
Building for debugging...
[0/26] Write sources
[11/26] Compiling CSystem shims.c
[11/26] Write swift-version-24593BA9C3E375BF.txt
[14/81] Emitting module InternalCollectionsUtilities
[15/83] Emitting module SystemPackage
[16/87] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[17/87] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[18/87] Compiling SystemPackage SystemString.swift
[19/87] Compiling SystemPackage Util+StringArray.swift
[20/87] Compiling SystemPackage Util.swift
[21/87] Compiling SystemPackage UtilConsumers.swift
[22/87] Compiling SystemPackage FileHelpers.swift
[23/87] Compiling SystemPackage FileOperations.swift
[24/87] Compiling SystemPackage Errno.swift
[25/87] Compiling SystemPackage ErrnoWindows.swift
[26/87] Compiling SystemPackage FileDescriptor.swift
[27/87] Compiling SystemPackage FilePath.swift
[28/87] Compiling SystemPackage FilePathComponentView.swift
[29/87] Compiling SystemPackage FilePathString.swift
[30/87] Compiling SystemPackage FilePathWindows.swift
[31/87] Compiling SystemPackage IORequest.swift
[32/87] Compiling SystemPackage FilePathSyntax.swift
[33/87] Compiling SystemPackage FilePermissions.swift
[34/87] Compiling SystemPackage IOCompletion.swift
[35/87] Compiling SystemPackage FilePathComponents.swift
[36/87] Compiling SystemPackage FilePathParsing.swift
[37/87] Compiling ConcurrencyHelpers LockedValueBox.swift
[48/88] Wrapping AST for InternalCollectionsUtilities for debugging
[50/158] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[51/158] Compiling OrderedCollections OrderedSet+Descriptions.swift
[52/158] Compiling OrderedCollections OrderedSet+Diffing.swift
[53/158] Compiling OrderedCollections OrderedSet+Equatable.swift
[54/158] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[55/158] Compiling OrderedCollections OrderedSet+Hashable.swift
[56/158] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[57/158] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[58/158] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[59/158] Compiling OrderedCollections OrderedDictionary+Values.swift
[60/158] Compiling OrderedCollections _HashTable+Bucket.swift
[61/158] Compiling OrderedCollections _HashTable+BucketIterator.swift
[62/158] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[63/158] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[64/158] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[65/158] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[66/158] Compiling OrderedCollections _HashTable+Constants.swift
[67/158] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[68/158] Compiling OrderedCollections _HashTable+Testing.swift
[69/158] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[70/159] Emitting module ConcurrencyHelpers
[71/159] Compiling ConcurrencyHelpers Lock.swift
[73/160] Compiling OrderedCollections OrderedDictionary.swift
[74/160] Compiling OrderedCollections OrderedSet+Codable.swift
[76/162] Compiling Logging MetadataProvider.swift
[76/162] Wrapping AST for ConcurrencyHelpers for debugging
[78/162] Compiling Logging LogHandler.swift
[79/162] Compiling Logging Locks.swift
[80/162] Emitting module Logging
[81/162] Compiling Logging Logging.swift
[81/162] Wrapping AST for SystemPackage for debugging
[83/163] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[84/163] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[85/163] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[86/163] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[87/163] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[88/163] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[89/163] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[90/170] Compiling OrderedCollections OrderedDictionary+Codable.swift
[91/170] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[92/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[93/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[94/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[95/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[96/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[97/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[98/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[99/170] Compiling DequeModule _DequeSlot.swift
[100/170] Compiling DequeModule _UnsafeWrappedBuffer.swift
[104/173] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[105/173] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[108/173] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[109/173] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[110/173] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[111/173] Compiling OrderedCollections OrderedDictionary+Elements.swift
[112/173] Emitting module DequeModule
[112/174] Wrapping AST for Logging for debugging
[114/174] Compiling OrderedCollections OrderedSet+Initializers.swift
[115/174] Compiling OrderedCollections OrderedSet+Insertions.swift
[116/174] Compiling OrderedCollections OrderedSet+Invariants.swift
[117/174] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[118/174] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[119/174] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[120/174] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[121/174] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[138/193] Wrapping AST for DequeModule for debugging
[140/193] Compiling MCP Prompts.swift
[141/193] Compiling MCP Resources.swift
[142/193] Compiling MCP InMemoryTransport.swift
[143/193] Compiling MCP NetworkTransport.swift
[144/193] Compiling MCP StdioTransport.swift
[145/193] Compiling MCP Sampling.swift
[146/193] Compiling MCP Data+Extensions.swift
[147/193] Compiling MCP Messages.swift
[154/193] Compiling OrderedCollections _HashTable.swift
[155/193] Compiling OrderedCollections _Hashtable+Header.swift
[156/193] Compiling UnixSignals UnixSignal.swift
[157/193] Compiling UnixSignals UnixSignalsSequence.swift
[158/193] Emitting module UnixSignals
[160/194] Compiling OrderedCollections OrderedSet+Sendable.swift
[161/194] Compiling OrderedCollections OrderedSet+SubSequence.swift
[162/194] Compiling OrderedCollections OrderedSet+Testing.swift
[163/194] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[164/194] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[165/194] Compiling OrderedCollections OrderedSet.swift
[166/194] Compiling OrderedCollections _UnsafeBitset.swift
[166/194] Wrapping AST for UnixSignals for debugging
[168/194] Emitting module OrderedCollections
[169/195] Wrapping AST for OrderedCollections for debugging
[171/244] Emitting module AsyncAlgorithms
[172/250] Compiling AsyncAlgorithms AsyncShareSequence.swift
[173/250] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[174/250] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[175/250] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[176/250] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[177/250] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[178/250] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[179/250] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[180/250] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[181/250] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[182/250] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[183/250] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[184/250] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[185/250] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[186/250] Emitting module MCP
[187/252] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[188/252] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[189/252] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[190/252] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[191/252] Compiling MCP Server.swift
[192/252] Compiling MCP Tools.swift
[193/252] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[194/252] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[195/252] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[196/252] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[197/252] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[198/252] Compiling AsyncAlgorithms AsyncChannel.swift
[199/252] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[200/252] Compiling AsyncAlgorithms ChannelStateMachine.swift
[204/252] Compiling AsyncAlgorithms SetAlgebra.swift
[205/252] Compiling AsyncAlgorithms UnsafeTransfer.swift
[206/252] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[207/252] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[208/252] Compiling AsyncAlgorithms ZipStateMachine.swift
[209/252] Compiling AsyncAlgorithms ZipStorage.swift
[212/252] Compiling AsyncAlgorithms DebounceStorage.swift
[213/252] Compiling AsyncAlgorithms Dictionary.swift
[214/252] Compiling AsyncAlgorithms _TinyArray.swift
[215/252] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[216/252] Compiling AsyncAlgorithms Locking.swift
[217/252] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[218/252] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[219/252] Compiling AsyncAlgorithms MergeStateMachine.swift
[220/252] Compiling AsyncAlgorithms MergeStorage.swift
[221/252] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel+Internal.swift
[222/252] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[223/252] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[224/252] Compiling AsyncAlgorithms Rethrow.swift
[225/252] Compiling AsyncAlgorithms ChannelStorage.swift
[226/252] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[227/252] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[228/252] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[229/252] Compiling AsyncAlgorithms CombineLatestStorage.swift
[230/252] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[231/252] Compiling AsyncAlgorithms DebounceStateMachine.swift
[232/253] Wrapping AST for AsyncAlgorithms for debugging
[234/261] Compiling ServiceLifecycle AsyncCancelOnGracefulShutdownSequence.swift
[235/262] Compiling ServiceLifecycle ServiceGroupConfiguration.swift
[236/262] Emitting module ServiceLifecycle
[237/262] Compiling ServiceLifecycle ServiceRunnerError.swift
[240/262] Compiling ServiceLifecycle AsyncGracefulShutdownSequence.swift
[241/262] Compiling ServiceLifecycle Service.swift
[242/262] Compiling ServiceLifecycle ServiceGroup.swift
[243/262] Compiling ServiceLifecycle CancellationWaiter.swift
[244/262] Compiling ServiceLifecycle GracefulShutdown.swift
[245/263] Wrapping AST for ServiceLifecycle for debugging
[260/264] Wrapping AST for MCP for debugging
[262/282] Compiling Apple_Docs_MCP Metadata.swift
[263/282] Compiling Apple_Docs_MCP Reference.swift
[264/284] Compiling Apple_Docs_MCP TopicSection.swift
[265/284] Compiling Apple_Docs_MCP ClientError.swift
[266/284] Compiling Apple_Docs_MCP Declaration.swift
[267/284] Compiling Apple_Docs_MCP Framework.swift
[268/284] Compiling Apple_Docs_MCP InlineContent.swift
[269/284] Compiling Apple_Docs_MCP ToolHandlers.swift
[270/284] Compiling Apple_Docs_MCP Toolbox.swift
[271/284] Compiling Apple_Docs_MCP ContentBlock.swift
[272/284] 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
 6 |
 7 | /// HTTPDataDownloader configuration.
 8 | extension URLSession: HTTPDataDownloader {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 9 |
10 |     /// Get data from given URL.
[273/284] 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
 6 |
 7 | /// HTTPDataDownloader configuration.
 8 | extension URLSession: HTTPDataDownloader {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 9 |
10 |     /// Get data from given URL.
[274/284] Compiling Apple_Docs_MCP Apple_Docs_MCP.swift
[275/284] Compiling Apple_Docs_MCP MCPService.swift
[276/284] Compiling Apple_Docs_MCP SymbolSearch.swift
[277/284] 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()
[278/284] 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()
[279/284] Compiling Apple_Docs_MCP Section.swift
[280/284] Compiling Apple_Docs_MCP Topic.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[281/284] 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
 6 |
 7 | /// HTTPDataDownloader configuration.
 8 | extension URLSession: HTTPDataDownloader {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 9 |
10 |     /// Get data from given URL.
BUILD FAILURE 6.0 linux