Build Information
Failed to build Apple-Docs-MCP, reference main (ec17f7), with Swift 6.2 for Linux on 2 Feb 2026 09:40:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.2-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.2
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-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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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
[2569/5336] Fetching swift-service-lifecycle, swift-sdk
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.40s)
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.41s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.10.2 (0.74s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/mattt/eventsource.git
[1/199] Fetching eventsource
[200/6087] Fetching eventsource, swift-log
[1084/11629] Fetching eventsource, swift-log, swift-system
Fetched https://github.com/mattt/eventsource.git from cache (0.42s)
Fetched https://github.com/apple/swift-system.git from cache (0.42s)
Fetched https://github.com/apple/swift-log.git from cache (0.45s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.3.0 (0.77s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.35s)
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.37s)
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.43s)
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.99s)
Fetching https://github.com/apple/swift-collections.git
[1/19089] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.29s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.84s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.41s)
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/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/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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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
Building for debugging...
[0/26] Write sources
[11/26] Write swift-version-24593BA9C3E375BF.txt
[12/26] Compiling CSystem shims.c
[14/81] Emitting module InternalCollectionsUtilities
[15/81] Compiling SystemPackage Errno.swift
[16/81] Compiling SystemPackage ErrnoWindows.swift
[17/81] Compiling SystemPackage FileDescriptor.swift
[18/81] Compiling SystemPackage FilePath.swift
[19/81] Compiling SystemPackage FilePathComponentView.swift
[20/83] Compiling SystemPackage FilePathComponents.swift
[21/83] Compiling SystemPackage FilePathParsing.swift
[22/83] Compiling SystemPackage FileHelpers.swift
[23/83] Compiling SystemPackage FileOperations.swift
[24/83] Compiling SystemPackage FilePathString.swift
[25/83] Compiling SystemPackage FilePathWindows.swift
[26/83] Compiling ConcurrencyHelpers LockedValueBox.swift
[27/83] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[28/83] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[29/83] Compiling SystemPackage FilePathTempPosix.swift
[30/83] Compiling SystemPackage FilePathTempWindows.swift
[31/83] Compiling SystemPackage FilePathSyntax.swift
[32/83] Compiling SystemPackage FilePathTemp.swift
[33/84] Emitting module SystemPackage
[35/88] Compiling SystemPackage Syscalls.swift
[36/88] Compiling SystemPackage WindowsSyscallAdapters.swift
[37/88] Compiling SystemPackage MachPort.swift
[38/88] Compiling SystemPackage PlatformString.swift
[39/88] Compiling Logging MetadataProvider.swift
[40/88] Emitting module ConcurrencyHelpers
[41/88] Compiling ConcurrencyHelpers Lock.swift
[42/89] Wrapping AST for InternalCollectionsUtilities for debugging
[43/124] Wrapping AST for ConcurrencyHelpers for debugging
[45/142] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[46/142] Compiling OrderedCollections OrderedSet+Hashable.swift
[47/142] Compiling OrderedCollections OrderedDictionary+Codable.swift
[48/142] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[49/162] Compiling DequeModule Deque+CustomReflectable.swift
[50/162] Compiling DequeModule Deque+Descriptions.swift
[51/164] Compiling DequeModule _DequeBuffer.swift
[52/164] Compiling DequeModule _DequeBufferHeader.swift
[53/164] Compiling DequeModule Deque+Equatable.swift
[54/164] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[55/164] Emitting module UnixSignals
[56/164] Compiling UnixSignals UnixSignal.swift
[57/164] Compiling Logging LogHandler.swift
[58/164] Compiling Logging Logging.swift
[59/164] Emitting module Logging
[60/164] Compiling Logging Locks.swift
[62/165] Compiling UnixSignals UnixSignalsSequence.swift
[63/165] Compiling DequeModule _DequeSlot.swift
[64/165] Compiling DequeModule _UnsafeWrappedBuffer.swift
[65/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[66/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[67/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[68/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[69/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[70/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[71/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[72/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[73/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[74/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[75/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[76/166] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[77/166] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[78/166] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[79/171] Wrapping AST for Logging for debugging
[80/173] Wrapping AST for UnixSignals for debugging
[82/173] Compiling OrderedCollections OrderedDictionary.swift
[83/173] Compiling OrderedCollections OrderedSet+Codable.swift
[84/173] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[85/173] Compiling OrderedCollections OrderedSet+Descriptions.swift
[86/173] Compiling OrderedCollections OrderedSet+Diffing.swift
[87/173] Compiling OrderedCollections OrderedSet+Equatable.swift
[90/173] Compiling OrderedCollections OrderedSet+Initializers.swift
[91/173] Compiling OrderedCollections OrderedSet+Insertions.swift
[92/173] Compiling OrderedCollections OrderedSet+Invariants.swift
[93/173] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[94/173] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[95/173] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[96/173] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[97/173] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[98/173] Compiling DequeModule Deque._UnsafeHandle.swift
[99/173] Compiling DequeModule Deque.swift
[100/173] Compiling DequeModule Deque+Testing.swift
[101/173] Compiling DequeModule Deque._Storage.swift
[102/173] Compiling DequeModule Deque+Extras.swift
[103/173] Compiling DequeModule Deque+Hashable.swift
[114/173] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[115/173] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[116/173] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[117/173] Compiling OrderedCollections OrderedDictionary+Elements.swift
[118/173] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[119/173] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[120/173] Compiling DequeModule Deque+Codable.swift
[121/173] Compiling DequeModule Deque+Collection.swift
[126/173] Emitting module DequeModule
[127/174] Wrapping AST for DequeModule for debugging
[137/174] Compiling OrderedCollections OrderedSet+Sendable.swift
[138/174] Compiling OrderedCollections OrderedSet+SubSequence.swift
[139/174] Compiling OrderedCollections OrderedSet+Testing.swift
[140/174] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[141/174] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[142/174] Compiling OrderedCollections OrderedSet.swift
[143/174] Compiling OrderedCollections _UnsafeBitset.swift
[144/174] Emitting module OrderedCollections
[145/175] Wrapping AST for OrderedCollections for debugging
[147/224] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[148/224] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[149/224] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[150/224] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[151/224] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[152/224] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[153/224] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[154/224] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[155/224] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[156/224] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[157/224] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[158/224] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[159/224] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[160/224] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[161/224] Compiling AsyncAlgorithms AsyncShareSequence.swift
[162/224] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[163/224] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[164/224] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[165/224] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[166/224] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[167/224] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[168/224] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[169/225] Wrapping AST for SystemPackage for debugging
[171/244] Compiling MCP Transport.swift
[172/244] Compiling MCP HTTPClientTransport.swift
[173/244] Compiling MCP UnitInterval.swift
[174/244] Compiling MCP Ping.swift
[175/244] Compiling MCP Value.swift
[176/244] Compiling MCP Sampling.swift
[177/244] Compiling MCP Data+Extensions.swift
[178/250] Emitting module AsyncAlgorithms
[179/250] Compiling MCP Error.swift
[180/250] Compiling MCP ID.swift
[181/250] Compiling MCP Lifecycle.swift
[182/250] Compiling MCP InMemoryTransport.swift
[183/250] Compiling MCP NetworkTransport.swift
[184/250] Compiling MCP StdioTransport.swift
[185/250] Compiling MCP Messages.swift
[186/250] Compiling AsyncAlgorithms DebounceStorage.swift
[187/250] Compiling AsyncAlgorithms Dictionary.swift
[188/250] Compiling AsyncAlgorithms _TinyArray.swift
[189/250] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[190/250] Compiling AsyncAlgorithms Locking.swift
[191/250] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[192/250] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[193/250] Compiling AsyncAlgorithms ChannelStorage.swift
[194/250] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[195/250] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[196/250] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[197/250] Compiling AsyncAlgorithms CombineLatestStorage.swift
[198/250] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[199/250] Compiling AsyncAlgorithms DebounceStateMachine.swift
[201/250] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[202/250] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[203/250] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[204/250] Compiling AsyncAlgorithms AsyncChannel.swift
[205/250] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[206/250] Compiling AsyncAlgorithms ChannelStateMachine.swift
[207/250] Compiling MCP Prompts.swift
[208/250] Compiling MCP Resources.swift
[209/250] Compiling MCP Versioning.swift
[210/250] Compiling MCP Client.swift
[214/250] Compiling AsyncAlgorithms SetAlgebra.swift
[215/250] Compiling AsyncAlgorithms UnsafeTransfer.swift
[216/250] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[217/250] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[218/250] Compiling AsyncAlgorithms ZipStateMachine.swift
[219/250] Compiling AsyncAlgorithms ZipStorage.swift
[220/250] Compiling AsyncAlgorithms MergeStateMachine.swift
[221/250] Compiling AsyncAlgorithms MergeStorage.swift
[222/250] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel+Internal.swift
[223/250] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[224/250] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[225/250] Compiling AsyncAlgorithms Rethrow.swift
[226/251] Wrapping AST for AsyncAlgorithms for debugging
[228/259] Compiling ServiceLifecycle CancellationWaiter.swift
[229/260] Compiling ServiceLifecycle AsyncCancelOnGracefulShutdownSequence.swift
[230/260] Emitting module ServiceLifecycle
[231/260] Compiling ServiceLifecycle ServiceGroupConfiguration.swift
[232/260] Compiling ServiceLifecycle GracefulShutdown.swift
[233/260] Compiling ServiceLifecycle AsyncGracefulShutdownSequence.swift
[234/260] Compiling ServiceLifecycle ServiceRunnerError.swift
[244/262] Emitting module MCP
[245/262] Compiling ServiceLifecycle Service.swift
[246/262] Compiling ServiceLifecycle ServiceGroup.swift
[247/263] Wrapping AST for ServiceLifecycle for debugging
[251/263] Compiling MCP Server.swift
[252/263] Compiling MCP Tools.swift
[260/264] Wrapping AST for MCP for debugging
[262/282] Compiling Apple_Docs_MCP Declaration.swift
[263/282] Compiling Apple_Docs_MCP Framework.swift
[264/282] Compiling Apple_Docs_MCP InlineContent.swift
[265/284] Compiling Apple_Docs_MCP ToolHandlers.swift
[266/284] Compiling Apple_Docs_MCP Toolbox.swift
[267/284] Compiling Apple_Docs_MCP ContentBlock.swift
[268/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 [#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>
[269/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 [#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>
[270/284] Compiling Apple_Docs_MCP Apple_Docs_MCP.swift
[271/284] Compiling Apple_Docs_MCP MCPService.swift
[272/284] Compiling Apple_Docs_MCP SymbolSearch.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[273/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 [#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>
[274/284] Compiling Apple_Docs_MCP TopicSection.swift
[275/284] Compiling Apple_Docs_MCP ClientError.swift
[276/284] Compiling Apple_Docs_MCP Section.swift
[277/284] Compiling Apple_Docs_MCP Topic.swift
[278/284] Compiling Apple_Docs_MCP Metadata.swift
[279/284] Compiling Apple_Docs_MCP Reference.swift
[280/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()
[281/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()
BUILD FAILURE 6.2 linux