Build Information
Failed to build Switchboard, reference main (67bfa0), with Swift 6.4 for Linux on 22 Oct 2026 22:46:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DeepakPal25/Switchboard.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/DeepakPal25/Switchboard
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 67bfa01 Fix install instructions: YOUR_USERNAME placeholder -> DeepakPal25
Cloned https://github.com/DeepakPal25/Switchboard.git
Revision (git rev-parse @):
67bfa0170118d65ac87cff4f460a21eb2366431c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/DeepakPal25/Switchboard.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/DeepakPal25/Switchboard.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ef1451f51398a5019879493c5c492376e60274346858404d898204a8a77273d4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80972] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.80s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.79s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 652]
[Planning deferred tasks]
[44 / 261] SwiftSyntax602
[159 / 276] SwiftSyntax510
[170 / 286] SwiftSyntax
[180 / 289] SwiftSyntax509
[186 / 290] SwiftSyntax509
[190 / 291] SwiftSyntax
[198 / 294] SwiftDiagnostics
[203 / 319] SwiftParser
[207 / 319] SwiftDiagnostics
[213 / 319] SwiftBasicFormat
[218 / 319] SwiftParser
[219 / 319] SwiftParser
[221 / 319] SwiftParser
[225 / 319] SwiftParser
[228 / 319] SwiftDiagnostics
[229 / 319] SwiftDiagnostics
[230 / 319] SwiftDiagnostics
[231 / 319] SwiftDiagnostics
[232 / 319] SwiftDiagnostics
[234 / 320] SwiftBasicFormat
[236 / 320] SwiftParserDiagnostics
[239 / 320] SwiftBasicFormat
[240 / 320]
[244 / 340] SwiftOperators
[246 / 341] SwiftParserDiagnostics
[247 / 342] SwiftParserDiagnostics
[248 / 342] SwiftParserDiagnostics
[260 / 342] SwiftSyntaxBuilder
[263 / 342] SwiftParser
[265 / 342] SwiftParser
[266 / 342] SwiftOperators
[268 / 342] SwiftOperators
[270 / 342] SwiftOperators
[272 / 342] SwiftOperators
[277 / 353] SwiftSyntaxBuilder
[281 / 354] SwiftSyntaxBuilder
[282 / 354] SwiftSyntaxBuilder
[285 / 354] SwiftSyntaxBuilder
[294 / 355]
[296 / 364] SwiftSyntaxMacros
[305 / 364] SwiftSyntaxMacros
[308 / 364] SwiftSyntaxMacros-product
[313 / 375] SwiftSyntaxMacros
[315 / 375] SwiftSyntaxMacros
[319 / 376] SwiftSyntaxMacroExpansion
[322 / 376] SwiftSyntaxMacroExpansion
[332 / 386] SwiftCompilerPluginMessageHandling
[334 / 386] SwiftSyntaxMacroExpansion
[336 / 386] SwiftCompilerPluginMessageHandling
[339 / 386] SwiftCompilerPluginMessageHandling
[351 / 390] SwiftSyntaxMacroExpansion
[352 / 391] SwiftCompilerPlugin
[354 / 391] SwiftCompilerPluginMessageHandling
[356 / 392] SwiftSyntax
[359 / 393] SwiftSyntax
[366 / 393] SwiftSyntaxMacros
[374 / 394] SwitchboardMacros
[376 / 396] SwitchboardMacros
[377 / 396] SwitchboardMacros
[381 / 397] SwitchboardMacros
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/Switchboard/Storage.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Storage.swift
[389 / 405] Switchboard
/host/spi-builder-workspace/Sources/Switchboard/Storage.swift:17:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m public let url: URL
[0;36m16 |[0;0m public let headers: [String: String]
[0;36m17 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m
[0;36m19 |[0;0m public init(url: URL, headers: [String: String] = [:], session: URLSession = .shared) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Switchboard/Storage.swift:19:69: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m private let session: URLSession
[0;36m18 |[0;0m
[0;36m19 |[0;0m public init(url: URL, headers: [String: String] = [:], session: [4;39mURLSession[0;0m = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m self.url = url
[0;36m21 |[0;0m self.headers = headers
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Switchboard/Storage.swift:19:83: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m17 |[0;0m private let session: URLSession
[0;36m18 |[0;0m
[0;36m19 |[0;0m public init(url: URL, headers: [String: String] = [:], session: URLSession = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m20 |[0;0m self.url = url
[0;36m21 |[0;0m self.headers = headers
/host/spi-builder-workspace/Sources/Switchboard/Storage.swift:19:83: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m17 |[0;0m private let session: URLSession
[0;36m18 |[0;0m
[0;36m19 |[0;0m public init(url: URL, headers: [String: String] = [:], session: URLSession = [4;39m.shared[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m20 |[0;0m self.url = url
[0;36m21 |[0;0m self.headers = headers
/host/spi-builder-workspace/Sources/Switchboard/Storage.swift:17:17: [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming struct 'HTTPRemoteConfigSource' has non-Sendable type 'AnyObject'[0;0m
[0;36m15 |[0;0m public let url: URL
[0;36m16 |[0;0m public let headers: [String: String]
[0;36m17 |[0;0m private let session: URLSession
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming struct 'HTTPRemoteConfigSource' has non-Sendable type 'AnyObject'[0;0m
[0;36m18 |[0;0m
[0;36m19 |[0;0m public init(url: URL, headers: [String: String] = [:], session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/Switchboard/Storage.swift:72:36: [1;31merror: [1;39mtype 'URL' has no member 'cachesDirectory'[0;0m
[0;36m70 |[0;0m public let fileURL: URL
[0;36m71 |[0;0m
[0;36m72 |[0;0m public init(fileURL: URL = [4;39mURL[0;0m.[4;39mcachesDirectory[0;0m.appending(path: "Switchboard/remote-config.json")) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URL' has no member 'cachesDirectory'[0;0m
[0;36m73 |[0;0m self.fileURL = fileURL
[0;36m74 |[0;0m }
/host/spi-builder-workspace/Sources/Switchboard/Storage.swift:26:23: [1;31merror: [1;39mcannot find 'URLRequest' in scope[0;0m
[0;36m24 |[0;0m
[0;36m25 |[0;0m public func fetch() async throws -> RemoteConfig {
[0;36m26 |[0;0m var request = [4;39mURLRequest[0;0m(url: url)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'URLRequest' in scope[0;0m
[0;36m27 |[0;0m request.cachePolicy = .reloadIgnoringLocalCacheData
[0;36m28 |[0;0m for (field, value) in headers {
/host/spi-builder-workspace/Sources/Switchboard/Storage.swift:27:32: [1;31merror: [1;39mcannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'[0;0m
[0;36m25 |[0;0m public func fetch() async throws -> RemoteConfig {
[0;36m26 |[0;0m var request = URLRequest(url: url)
[0;36m27 |[0;0m request.cachePolicy = [4;39m.reloadIgnoringLocalCacheData[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'[0;0m
[0;36m28 |[0;0m for (field, value) in headers {
[0;36m29 |[0;0m request.setValue(value, forHTTPHeaderField: field)
/host/spi-builder-workspace/Sources/Switchboard/Storage.swift:31:50: [1;31merror: [1;39mvalue of type 'URLSession' (aka 'AnyObject') has no member 'data'[0;0m
[0;36m29 |[0;0m request.setValue(value, forHTTPHeaderField: field)
[0;36m30 |[0;0m }
[0;36m31 |[0;0m let (data, response) = try await [4;39msession[0;0m.[4;39mdata[0;0m(for: request)
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'URLSession' (aka 'AnyObject') has no member 'data'[0;0m
[0;36m32 |[0;0m guard let http = response as? HTTPURLResponse else {
[0;36m33 |[0;0m throw RemoteConfigError.invalidResponse
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Switchboard/FlagDefinition.swift /host/spi-builder-workspace/Sources/Switchboard/FlagStore.swift /host/spi-builder-workspace/Sources/Switchboard/FlagValue.swift /host/spi-builder-workspace/Sources/Switchboard/Macros.swift /host/spi-builder-workspace/Sources/Switchboard/RemoteConfig.swift -primary-file /host/spi-builder-workspace/Sources/Switchboard/Storage.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Switchboard.build/Debug-linux-x86_64/Switchboard-t.build/Objects-normal/x86_64/Storage.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Switchboard.build/Debug-linux-x86_64/Switchboard-t.build/Objects-normal/x86_64/Storage.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Switchboard.build/Debug-linux-x86_64/Switchboard-t.build/Objects-normal/x86_64/Storage.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Switchboard.build/Debug-linux-x86_64/Switchboard-t.build/Objects-normal/x86_64/Storage.dia -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 SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/SwitchboardMacros\#SwitchboardMacros -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 -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/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Switchboard.build/Debug-linux-x86_64/Switchboard-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Switchboard.build/Debug-linux-x86_64/Switchboard-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Switchboard.build/Debug-linux-x86_64/Switchboard-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Switchboard -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Switchboard.build/Debug-linux-x86_64/Switchboard-t.build/Objects-normal/x86_64/Switchboard_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Switchboard.build/Debug-linux-x86_64/Switchboard-t.build/Objects-normal/x86_64/Storage.o -index-unit-output-path /Switchboard.build/Debug-linux-x86_64/Switchboard-t.build/Objects-normal/x86_64/Storage.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux