Build Information
Failed to build Apple-Docs-MCP, reference main (ec17f7), with Swift 6.0 for Linux on 2 Feb 2026 09:39:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/justindal/Apple-Docs-MCP.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ec17f7b docs: update readme
Cloned https://github.com/justindal/Apple-Docs-MCP.git
Revision (git rev-parse @):
ec17f7b6940dc73478074a648a1ed59d6e87c212
SUCCESS checkout https://github.com/justindal/Apple-Docs-MCP.git at main
========================================
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-4609320-0":/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/swift-server/swift-service-lifecycle.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[1/2568] Fetching swift-service-lifecycle
[2569/5336] Fetching swift-service-lifecycle, swift-sdk
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.32s)
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.39s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.10.2 (0.63s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-log.git
[1/199] Fetching eventsource
[200/6087] Fetching eventsource, swift-log
[6088/11629] Fetching eventsource, swift-log, swift-system
Fetched https://github.com/mattt/eventsource.git from cache (0.39s)
[6498/11430] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.39s)
[832/5542] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.53s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.3.0 (0.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.58s)
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 (0.65s)
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 (0.40s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.70s)
Fetching https://github.com/apple/swift-collections.git
[1/19089] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.85s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.66s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.9.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/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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.3.0
Building for debugging...
[0/26] Write sources
[11/26] Compiling CSystem shims.c
[12/26] Write swift-version-24593BA9C3E375BF.txt
[14/81] Emitting module InternalCollectionsUtilities
[15/83] Compiling ConcurrencyHelpers LockedValueBox.swift
[16/83] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[17/83] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[18/83] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[19/83] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[20/83] Compiling InternalCollectionsUtilities Integer rank.swift
[21/83] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[22/83] Compiling InternalCollectionsUtilities Debugging.swift
[23/87] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/87] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[25/87] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[26/87] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[27/87] Compiling InternalCollectionsUtilities UInt+reversed.swift
[33/87] Compiling InternalCollectionsUtilities Descriptions.swift
[34/87] Compiling InternalCollectionsUtilities _SortedCollection.swift
[35/87] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[36/87] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[37/87] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[38/88] Emitting module SystemPackage
[44/88] Wrapping AST for InternalCollectionsUtilities for debugging
[46/88] Emitting module ConcurrencyHelpers
[47/88] Compiling ConcurrencyHelpers Lock.swift
[51/89] Compiling SystemPackage FilePathTempWindows.swift
[56/106] Compiling SystemPackage IORing.swift
[57/106] Compiling SystemPackage RawIORequest.swift
[58/106] Compiling SystemPackage Backcompat.swift
[59/106] Compiling SystemPackage CInterop.swift
[61/159] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[62/159] Compiling OrderedCollections OrderedSet+Hashable.swift
[63/159] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[64/159] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[65/159] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[66/159] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[67/159] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[68/159] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[69/159] Compiling DequeModule Deque+CustomReflectable.swift
[70/159] Compiling DequeModule Deque+Descriptions.swift
[70/159] Wrapping AST for ConcurrencyHelpers for debugging
[72/161] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[73/161] Compiling OrderedCollections OrderedDictionary+Values.swift
[74/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[75/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[76/162] Compiling DequeModule _DequeBuffer.swift
[77/162] Compiling DequeModule _DequeBufferHeader.swift
[78/165] Compiling Logging MetadataProvider.swift
[79/165] Compiling Logging LogHandler.swift
[80/165] Compiling Logging Locks.swift
[81/165] Emitting module Logging
[82/165] Compiling Logging Logging.swift
[84/166] Compiling DequeModule Deque+Equatable.swift
[85/166] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[86/166] Compiling DequeModule Deque+Extras.swift
[87/166] Compiling DequeModule Deque+Hashable.swift
[88/166] Wrapping AST for SystemPackage for debugging
[90/166] Compiling DequeModule Deque+Testing.swift
[91/166] Compiling DequeModule Deque._Storage.swift
[92/166] Compiling DequeModule Deque._UnsafeHandle.swift
[93/166] Compiling DequeModule Deque.swift
[94/166] Compiling DequeModule _DequeSlot.swift
[95/166] Compiling DequeModule _UnsafeWrappedBuffer.swift
[95/166] Wrapping AST for Logging for debugging
[97/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[98/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[99/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[100/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[101/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[102/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[103/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[106/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[107/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[108/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[109/166] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[110/166] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[111/173] Compiling DequeModule Deque+Codable.swift
[112/173] Compiling DequeModule Deque+Collection.swift
[119/173] Compiling OrderedCollections OrderedDictionary.swift
[120/173] Compiling OrderedCollections OrderedSet+Codable.swift
[121/173] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[122/173] Compiling OrderedCollections OrderedSet+Descriptions.swift
[123/173] Compiling OrderedCollections OrderedSet+Diffing.swift
[124/173] Compiling OrderedCollections OrderedSet+Equatable.swift
[127/173] Compiling OrderedCollections OrderedSet+Initializers.swift
[128/173] Compiling OrderedCollections OrderedSet+Insertions.swift
[129/173] Compiling OrderedCollections OrderedSet+Invariants.swift
[130/173] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[131/173] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[132/173] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[133/173] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[134/173] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[137/183] Compiling UnixSignals UnixSignal.swift
[138/183] Emitting module UnixSignals
[139/183] Compiling UnixSignals UnixSignalsSequence.swift
[149/193] Emitting module DequeModule
[149/194] Wrapping AST for UnixSignals for debugging
[152/194] Compiling MCP StdioTransport.swift
[153/194] Compiling MCP Sampling.swift
[154/194] Compiling MCP Data+Extensions.swift
[155/194] Compiling MCP UnitInterval.swift
[156/194] Compiling MCP Ping.swift
[157/194] Compiling MCP Value.swift
[158/194] Compiling MCP Versioning.swift
[159/194] Compiling MCP Client.swift
[159/194] Wrapping AST for DequeModule for debugging
[161/194] Emitting module OrderedCollections
[162/194] Compiling OrderedCollections OrderedSet+Sendable.swift
[163/194] Compiling OrderedCollections OrderedSet+SubSequence.swift
[164/194] Compiling OrderedCollections OrderedSet+Testing.swift
[165/194] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[166/194] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[167/194] Compiling OrderedCollections OrderedSet.swift
[168/194] Compiling OrderedCollections _UnsafeBitset.swift
[169/195] Wrapping AST for OrderedCollections for debugging
[171/244] Compiling AsyncAlgorithms MergeStateMachine.swift
[172/244] Compiling AsyncAlgorithms MergeStorage.swift
[173/244] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel+Internal.swift
[174/244] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[175/244] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[176/244] Compiling AsyncAlgorithms Rethrow.swift
[177/250] Emitting module MCP
[178/252] Emitting module AsyncAlgorithms
[179/252] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[180/252] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[181/252] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[182/252] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[183/252] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[184/252] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[185/252] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[186/252] Compiling AsyncAlgorithms AsyncShareSequence.swift
[187/252] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[188/252] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[189/252] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[190/252] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[191/252] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[192/252] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[193/252] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[194/252] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[195/252] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[196/252] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[197/252] Compiling AsyncAlgorithms AsyncChannel.swift
[198/252] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[199/252] Compiling AsyncAlgorithms ChannelStateMachine.swift
[203/252] Compiling AsyncAlgorithms DebounceStorage.swift
[204/252] Compiling AsyncAlgorithms Dictionary.swift
[205/252] Compiling AsyncAlgorithms _TinyArray.swift
[206/252] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[207/252] Compiling AsyncAlgorithms Locking.swift
[208/252] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[209/252] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[218/252] Compiling AsyncAlgorithms SetAlgebra.swift
[219/252] Compiling AsyncAlgorithms UnsafeTransfer.swift
[220/252] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[221/252] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[222/252] Compiling AsyncAlgorithms ZipStateMachine.swift
[223/252] Compiling AsyncAlgorithms ZipStorage.swift
[224/252] Compiling AsyncAlgorithms ChannelStorage.swift
[225/252] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[226/252] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[227/252] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[228/252] Compiling AsyncAlgorithms CombineLatestStorage.swift
[229/252] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[230/252] Compiling AsyncAlgorithms DebounceStateMachine.swift
[231/252] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[232/252] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[233/252] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[234/252] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[235/252] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[236/252] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[237/252] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[238/253] Wrapping AST for AsyncAlgorithms for debugging
[240/261] Compiling MCP Server.swift
[241/261] Compiling MCP Tools.swift
[242/261] Compiling ServiceLifecycle ServiceGroupConfiguration.swift
[243/262] Compiling ServiceLifecycle ServiceRunnerError.swift
[244/262] Compiling ServiceLifecycle Service.swift
[245/262] Compiling ServiceLifecycle AsyncCancelOnGracefulShutdownSequence.swift
[246/262] Compiling ServiceLifecycle AsyncGracefulShutdownSequence.swift
[247/262] Compiling ServiceLifecycle GracefulShutdown.swift
[248/262] Compiling ServiceLifecycle CancellationWaiter.swift
[249/262] Emitting module ServiceLifecycle
[250/262] Compiling ServiceLifecycle ServiceGroup.swift
[251/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 Declaration.swift
[265/284] Compiling Apple_Docs_MCP Framework.swift
[266/284] Compiling Apple_Docs_MCP InlineContent.swift
[267/284] Compiling Apple_Docs_MCP TopicSection.swift
[268/284] Compiling Apple_Docs_MCP ClientError.swift
[269/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.
[270/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.
[271/284] Compiling Apple_Docs_MCP Apple_Docs_MCP.swift
[272/284] Compiling Apple_Docs_MCP MCPService.swift
[273/284] Compiling Apple_Docs_MCP SymbolSearch.swift
[274/284] Compiling Apple_Docs_MCP Section.swift
[275/284] Compiling Apple_Docs_MCP Topic.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[276/284] Compiling Apple_Docs_MCP ToolHandlers.swift
[277/284] Compiling Apple_Docs_MCP Toolbox.swift
[278/284] Compiling Apple_Docs_MCP ContentBlock.swift
[279/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()
[280/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()
[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