Build Information
Failed to build Apple-Docs-MCP, reference v1.0.1 (a4cb12), with Swift 6.2 for Linux on 1 Feb 2026 07:15:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 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.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-4609320-1":/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/5331] Fetching swift-service-lifecycle, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.87s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.87s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.10.2 (1.23s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
[1/199] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git from cache (0.20s)
[1/5888] Fetching swift-log
[4005/11430] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
Fetched https://github.com/apple/swift-system.git from cache (0.47s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.3.0 (0.79s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.57s)
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.83s)
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.68s)
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.77s)
Fetching https://github.com/apple/swift-collections.git
[1/19082] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.35s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (4.94s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.94s)
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/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-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/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/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] Compiling CSystem shims.c
[11/26] Write swift-version-24593BA9C3E375BF.txt
[14/81] Compiling SystemPackage FilePath.swift
[15/81] Compiling SystemPackage FilePathComponentView.swift
[16/83] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[17/83] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[18/83] Compiling SystemPackage FileHelpers.swift
[19/83] Compiling SystemPackage FileOperations.swift
[20/83] Compiling SystemPackage FilePathTempPosix.swift
[21/83] Compiling SystemPackage FilePathTempWindows.swift
[22/83] Compiling SystemPackage Errno.swift
[23/83] Compiling SystemPackage ErrnoWindows.swift
[24/83] Compiling SystemPackage FileDescriptor.swift
[25/83] Emitting module InternalCollectionsUtilities
[26/83] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[27/83] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[28/83] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[29/83] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/83] Compiling ConcurrencyHelpers LockedValueBox.swift
[31/83] Compiling SystemPackage FilePathSyntax.swift
[32/83] Compiling SystemPackage FilePathTemp.swift
[38/84] Emitting module SystemPackage
[43/88] Wrapping AST for InternalCollectionsUtilities for debugging
[45/158] Compiling DequeModule _DequeBuffer.swift
[46/158] Compiling DequeModule _DequeBufferHeader.swift
[47/160] Compiling DequeModule _DequeSlot.swift
[48/160] Compiling DequeModule _UnsafeWrappedBuffer.swift
[49/160] Compiling OrderedCollections _HashTable+Constants.swift
[50/160] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[51/160] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[52/160] Compiling OrderedCollections OrderedDictionary+Values.swift
[53/160] Compiling OrderedCollections OrderedDictionary.swift
[54/160] Compiling OrderedCollections OrderedSet+Codable.swift
[55/160] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[56/160] Compiling OrderedCollections OrderedSet+Descriptions.swift
[57/160] Compiling OrderedCollections OrderedSet+Diffing.swift
[58/160] Compiling OrderedCollections OrderedSet+Equatable.swift
[59/160] Emitting module ConcurrencyHelpers
[60/160] Compiling ConcurrencyHelpers Lock.swift
[61/161] Compiling Logging MetadataProvider.swift
[62/161] Wrapping AST for ConcurrencyHelpers for debugging
[64/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[65/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[66/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[67/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[68/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[69/161] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[70/161] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[71/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[72/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[73/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[74/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[75/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[76/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[77/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[78/168] Compiling OrderedCollections _HashTable+Testing.swift
[79/168] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[80/168] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[81/168] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[82/168] Compiling OrderedCollections OrderedDictionary+Codable.swift
[83/168] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[84/168] Compiling OrderedCollections _HashTable.swift
[85/168] Compiling OrderedCollections _Hashtable+Header.swift
[86/171] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[87/171] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[88/171] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[89/171] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[90/171] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[91/171] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[94/171] Compiling OrderedCollections OrderedSet+Initializers.swift
[95/171] Compiling OrderedCollections OrderedSet+Insertions.swift
[96/171] Compiling OrderedCollections OrderedSet+Invariants.swift
[97/171] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[98/171] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[99/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[100/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[101/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[108/171] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[109/171] Compiling OrderedCollections OrderedSet+Hashable.swift
[110/171] Compiling Logging Logging.swift
[111/171] Compiling Logging LogHandler.swift
[112/171] Emitting module Logging
[113/171] Compiling Logging Locks.swift
[114/171] Emitting module DequeModule
[115/171] Compiling OrderedCollections _HashTable+Bucket.swift
[116/171] Compiling OrderedCollections _HashTable+BucketIterator.swift
[130/173] Wrapping AST for DequeModule for debugging
[131/173] Wrapping AST for Logging for debugging
[133/173] Compiling UnixSignals UnixSignal.swift
[134/173] Emitting module UnixSignals
[135/173] Compiling UnixSignals UnixSignalsSequence.swift
[136/174] Wrapping AST for UnixSignals for debugging
[146/174] Emitting module OrderedCollections
[147/174] Compiling OrderedCollections OrderedSet+Sendable.swift
[148/174] Compiling OrderedCollections OrderedSet+SubSequence.swift
[149/174] Compiling OrderedCollections OrderedSet+Testing.swift
[150/174] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[151/174] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[152/174] Compiling OrderedCollections OrderedSet.swift
[153/174] Compiling OrderedCollections _UnsafeBitset.swift
[154/175] Wrapping AST for OrderedCollections for debugging
[156/224] Compiling AsyncAlgorithms ChannelStorage.swift
[157/224] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[158/224] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[159/224] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[160/224] Compiling AsyncAlgorithms CombineLatestStorage.swift
[161/224] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[162/224] Compiling AsyncAlgorithms DebounceStateMachine.swift
[163/224] Compiling AsyncAlgorithms AsyncShareSequence.swift
[164/224] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[165/224] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[166/224] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[167/224] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[168/224] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[169/225] Wrapping AST for SystemPackage for debugging
[171/244] Compiling MCP NetworkTransport.swift
[172/244] Compiling MCP StdioTransport.swift
[173/244] Compiling MCP UnitInterval.swift
[174/244] Compiling MCP Ping.swift
[175/244] Compiling MCP Value.swift
[176/244] Compiling MCP Versioning.swift
[177/244] Compiling MCP Client.swift
[178/244] Compiling MCP Messages.swift
[179/244] Compiling MCP Transport.swift
[180/244] Compiling MCP HTTPClientTransport.swift
[181/244] Compiling MCP Error.swift
[182/244] Compiling MCP ID.swift
[183/244] Compiling MCP Lifecycle.swift
[184/244] Compiling MCP InMemoryTransport.swift
[185/250] Emitting module AsyncAlgorithms
[187/250] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[188/250] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[189/250] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[190/250] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[191/250] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[192/250] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[193/250] Compiling MCP Sampling.swift
[194/250] Compiling MCP Data+Extensions.swift
[195/250] Compiling MCP Prompts.swift
[196/250] Compiling MCP Resources.swift
[200/250] Compiling AsyncAlgorithms DebounceStorage.swift
[201/250] Compiling AsyncAlgorithms Dictionary.swift
[202/250] Compiling AsyncAlgorithms _TinyArray.swift
[203/250] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[204/250] Compiling AsyncAlgorithms Locking.swift
[205/250] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[206/250] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[207/250] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[208/250] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[209/250] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[210/250] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[211/250] Compiling AsyncAlgorithms AsyncChannel.swift
[212/250] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[213/250] Compiling AsyncAlgorithms ChannelStateMachine.swift
[214/250] Compiling AsyncAlgorithms MergeStateMachine.swift
[215/250] Compiling AsyncAlgorithms MergeStorage.swift
[216/250] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel+Internal.swift
[217/250] Compiling AsyncAlgorithms MultiProducerSingleConsumerAsyncChannel.swift
[218/250] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[219/250] Compiling AsyncAlgorithms Rethrow.swift
[220/250] Compiling AsyncAlgorithms SetAlgebra.swift
[221/250] Compiling AsyncAlgorithms UnsafeTransfer.swift
[222/250] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[223/250] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[224/250] Compiling AsyncAlgorithms ZipStateMachine.swift
[225/250] Compiling AsyncAlgorithms ZipStorage.swift
[226/251] Wrapping AST for AsyncAlgorithms for debugging
[228/259] Emitting module ServiceLifecycle
[229/260] Compiling ServiceLifecycle AsyncCancelOnGracefulShutdownSequence.swift
[230/260] Compiling ServiceLifecycle AsyncGracefulShutdownSequence.swift
[231/260] Compiling ServiceLifecycle CancellationWaiter.swift
[232/260] Compiling ServiceLifecycle ServiceGroupConfiguration.swift
[233/260] Compiling ServiceLifecycle ServiceRunnerError.swift
[234/260] Compiling ServiceLifecycle GracefulShutdown.swift
[244/262] Emitting module MCP
[252/262] Compiling ServiceLifecycle Service.swift
[253/262] Compiling ServiceLifecycle ServiceGroup.swift
[254/263] Wrapping AST for ServiceLifecycle for debugging
[256/263] Compiling MCP Server.swift
[257/263] Compiling MCP Tools.swift
[260/264] Wrapping AST for MCP for debugging
[262/282] Compiling Apple_Docs_MCP TopicSection.swift
[263/282] Compiling Apple_Docs_MCP ClientError.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 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>
[268/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>
[269/284] Compiling Apple_Docs_MCP Metadata.swift
[270/284] Compiling Apple_Docs_MCP Reference.swift
[271/284] Compiling Apple_Docs_MCP ToolHandlers.swift
[272/284] Compiling Apple_Docs_MCP Toolbox.swift
[273/284] Compiling Apple_Docs_MCP ContentBlock.swift
[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 Section.swift
[278/284] Compiling Apple_Docs_MCP Topic.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()
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 [#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.2 linux