Build Information
Failed to build Apple-Docs-MCP, reference main (ec17f7), with Swift 6.4 for Linux on 23 Sep 2026 23:55:14 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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.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.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.47s)
[1/3782] Fetching swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git (0.71s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.89s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio.git
[1/303] Fetching eventsource
[271/8468] Fetching eventsource, swift-log
[8469/15384] Fetching eventsource, swift-log, swift-system
[15385/101449] Fetching eventsource, swift-log, swift-system, swift-nio
Fetched https://github.com/mattt/eventsource.git (3.89s)
Fetched https://github.com/apple/swift-system.git (3.89s)
Fetched https://github.com/apple/swift-log.git (3.89s)
Fetched https://github.com/apple/swift-nio.git (3.93s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (4.10s)
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.18s)
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.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.77s)
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.22s)
Fetching https://github.com/apple/swift-collections.git
[1/27693] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.89s)
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.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.74s)
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/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
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/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-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]
[34 / 166] SpanPreview
[95 / 183] InternalCollectionsUtilities
[98 / 200] SystemPackage
[98 / 200] Logging
[101 / 200] Logging
[115 / 200] SystemPackage
[116 / 200] SystemPackage
[123 / 200] SystemPackage
[124 / 200] ConcurrencyHelpers
[126 / 200] SystemPackage
[132 / 200] InternalCollectionsUtilities
[135 / 200] ConcurrencyHelpers
[136 / 201] SpanPreview
[138 / 201] InternalCollectionsUtilities
[140 / 201] InternalCollectionsUtilities
[146 / 213] UnixSignals
[149 / 231] OrderedCollections
[152 / 231] SpanPreview
[157 / 231] SpanPreview
[160 / 231] UnixSignals
[165 / 231] UnixSignals
[168 / 232] UnixSignals
[171 / 233] UnixSignals
[173 / 234] UnixSignals
[176 / 234] OrderedCollections
[177 / 234] MCP
[178 / 234] MCP
[179 / 234] MCP
[180 / 234] MCP
[180 / 234] OrderedCollections
[183 / 234] OrderedCollections
[187 / 235] OrderedCollections
[191 / 235] MCP
[197 / 236] SystemPackage
[197 / 236] OrderedCollections-product
[204 / 236] InternalCollectionsUtilities
[209 / 237] OrderedCollections
[212 / 246] MCP
[214 / 246] DequeModule
[215 / 246] DequeModule
[217 / 246] DequeModule
[218 / 246] DequeModule
[219 / 246] DequeModule
[219 / 247] DequeModule
[228 / 248] AsyncAlgorithms
[236 / 257] AsyncAlgorithms
[237 / 257] AsyncAlgorithms
[248 / 267] ServiceLifecycle
[250 / 267] ServiceLifecycle
[257 / 267] ServiceLifecycle
[261 / 277] Apple-Docs-MCP-product
[263 / 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: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m10 |[0;0m self.session = session
[0;36m11 |[0;0m } else {
[0;36m12 |[0;0m let config = [4;39mURLSessionConfiguration[0;0m.[4;39mdefault[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m13 |[0;0m config.urlCache = URLCache(
[0;36m14 |[0;0m memoryCapacity: (1024 * 1024 * 100),
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/DocumentationClient.swift:13:31: [1;31merror: [1;39m'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m11 |[0;0m } else {
[0;36m12 |[0;0m let config = URLSessionConfiguration.default
[0;36m13 |[0;0m config.urlCache = [4;39mURLCache[0;0m(
[0;36m|[0;0m `- [1;31merror: [1;39m'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m14 |[0;0m memoryCapacity: (1024 * 1024 * 100),
[0;36m15 |[0;0m diskCapacity: (1024 * 1024 * 100)
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/DocumentationClient.swift:17:28: [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m15 |[0;0m diskCapacity: (1024 * 1024 * 100)
[0;36m16 |[0;0m )
[0;36m17 |[0;0m self.session = [4;39mURLSession[0;0m(configuration: config)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m18 |[0;0m }
[0;36m19 |[0;0m self.decoder = JSONDecoder()
/host/spi-builder-workspace/Sources/Apple-Docs-MCP/Networking/HTTPDataDownloader.swift:8:1: [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m6 |[0;0m
[0;36m7 |[0;0m /// HTTPDataDownloader configuration.
[0;36m8 |[0;0m extension [4;39mURLSession[0;0m: HTTPDataDownloader {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m9 |[0;0m
[0;36m10 |[0;0m /// 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