The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Apple-Docs-MCP, reference v1.0.1 (a4cb12), with Swift 6.4 for Linux on 23 Sep 2026 23:57:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/justindal/Apple-Docs-MCP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[1/2843] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.56s)
[1/3782] Fetching swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git (0.74s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.92s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/mattt/eventsource.git
[1/8165] Fetching swift-log
[3104/8468] Fetching swift-log, eventsource
Fetched https://github.com/apple/swift-log.git (0.53s)
[1/6916] Fetching swift-system
Fetched https://github.com/mattt/eventsource.git (0.66s)
Fetched https://github.com/apple/swift-system.git (0.66s)
[1/86065] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (2.96s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (3.13s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (0.17s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6732] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.76s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.21s)
Fetching https://github.com/apple/swift-collections.git
[1/27693] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.28s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.84s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.02s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.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.8.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.12.0
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.5
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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.12.1
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 393]
[Planning deferred tasks]
[83 / 166]
[98 / 200] SystemPackage
[99 / 200] ConcurrencyHelpers
[110 / 200] SystemPackage
[122 / 200] SystemPackage
[123 / 200] SystemPackage-product
[124 / 200] SystemPackage-product
[129 / 201] MCP
[133 / 201] InternalCollectionsUtilities
[135 / 201] SpanPreview
[138 / 201] InternalCollectionsUtilities
[139 / 201] InternalCollectionsUtilities
[140 / 202] UnixSignals
[152 / 213] UnixSignals
[156 / 231] SpanPreview
[169 / 231] OrderedCollections
[171 / 232] SpanPreview
[174 / 233] SpanPreview
[176 / 234] UnixSignals
[180 / 234] OrderedCollections
[182 / 234] MCP
[184 / 234] MCP
[185 / 234] MCP
[186 / 235] MCP
[199 / 235] MCP-product
[201 / 235] MCP-product
[207 / 237] SystemPackage
[213 / 246] SystemPackage
[215 / 246] SystemPackage
[219 / 246] DequeModule
[219 / 246] MCP
[219 / 246] DequeModule
[219 / 246] MCP
[219 / 246] DequeModule
[219 / 247] DequeModule
[235 / 257] DequeModule
[237 / 257] AsyncAlgorithms
[237 / 257]
[237 / 257] AsyncAlgorithms
[247 / 267] ServiceLifecycle
[248 / 267] ServiceLifecycle
[257 / 267] ServiceLifecycle
[260 / 277] Apple-Docs-MCP-product
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 6 |
 7 | /// HTTPDataDownloader configuration.
 8 | extension URLSession: HTTPDataDownloader {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 9 |
10 |     /// Get data from given URL.
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Apple_Docs_MCP.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Services/MCPService.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/SymbolSearch.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/ToolHandlers.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/MCP/Tools/Toolbox.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Models/ContentBlock.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Models/Declaration.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Models/Framework.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Models/InlineContent.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Models/Metadata.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Models/Reference.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Models/Section.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Models/Topic.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Models/TopicSection.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/ClientError.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/DocumentationClient.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/Endpoints.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/HTTPDataDownloader.swift /host/spi-builder-workspace/Sources/Apple-Docs-MCP/Utils/Normalize.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Apple-Docs-MCP.build/Debug-linux-x86_64/Apple-Docs-MCP-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Apple-Docs-MCP.build/Debug-linux-x86_64/Apple-Docs-MCP-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Apple-Docs-MCP.build/Debug-linux-x86_64/Apple-Docs-MCP-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Apple_Docs_MCP -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Apple-Docs-MCP.build/Debug-linux-x86_64/Apple-Docs-MCP-p.build/Objects-normal/x86_64/Apple-Docs-MCP_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Apple-Docs-MCP.build/Debug-linux-x86_64/Apple-Docs-MCP-p.build/Objects-normal/x86_64/Modules/Apple_Docs_MCP.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Apple-Docs-MCP.build/Debug-linux-x86_64/Apple-Docs-MCP-p.build/Objects-normal/x86_64/Modules/Apple_Docs_MCP.swiftsourceinfo -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Apple-Docs-MCP.build/Debug-linux-x86_64/Apple-Docs-MCP-p.build/Objects-normal/x86_64/Apple-Docs-MCP-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Apple-Docs-MCP.build/Debug-linux-x86_64/Apple-Docs-MCP-p.build/Objects-normal/x86_64/Apple-Docs-MCP-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Apple-Docs-MCP.build/Debug-linux-x86_64/Apple-Docs-MCP-p.build/Objects-normal/x86_64/Modules/Apple_Docs_MCP.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux