Build Information
Failed to build AgentAdapter, reference main (0ee768), with Swift 6.1 for Android on 4 Nov 2026 08:24:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mtj0928/agent-adapter.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/mtj0928/agent-adapter
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0ee768e Pin Ubuntu runner for Swift tests
Cloned https://github.com/mtj0928/agent-adapter.git
Revision (git rev-parse @):
0ee768e8fbac1ddebb4f58e83ff8c82d6957e620
SUCCESS checkout https://github.com/mtj0928/agent-adapter.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/mtj0928/agent-adapter.git
https://github.com/mtj0928/agent-adapter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1af1ef9e2b8f7a959ad4dced2035c22f050ae85f531ed2857472423d8f2ef4d3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/11878] Fetching yams
[1546/31208] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.14s)
Fetched https://github.com/jpsim/Yams.git from cache (1.15s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (2.07s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.22s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[7/21] Compiling writer.c
[8/21] Compiling reader.c
[9/21] Compiling parser.c
[10/21] Compiling emitter.c
[11/21] Compiling scanner.c
[12/21] Compiling api.c
[12/21] Write swift-version-24593BA9C3E375BF.txt
[15/43] Emitting module ArgumentParserToolInfo
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/43] Compiling ArgumentParserToolInfo ToolInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/44] Compiling Yams Tag.swift
[19/44] Compiling Yams YamlAnchorProviding.swift
[19/46] Wrapping AST for ArgumentParserToolInfo for debugging
[21/93] Compiling ArgumentParser ExpressibleByArgument.swift
[22/93] Compiling ArgumentParser ParsableArguments.swift
[23/93] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/93] Compiling ArgumentParser CompletionsGenerator.swift
[25/93] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/93] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/93] Compiling ArgumentParser Argument.swift
[28/93] Compiling ArgumentParser ArgumentDiscussion.swift
[29/93] Compiling ArgumentParser CommandParser.swift
[30/93] Compiling ArgumentParser InputKey.swift
[31/93] Compiling ArgumentParser InputOrigin.swift
[32/93] Compiling ArgumentParser CommandGroup.swift
[33/93] Compiling ArgumentParser EnumerableFlag.swift
[34/93] Compiling ArgumentParser ParentCommand.swift
[35/93] Compiling ArgumentParser AsyncParsableCommand.swift
[36/93] Compiling ArgumentParser CommandConfiguration.swift
[37/93] Emitting module Yams
[38/93] Compiling ArgumentParser ArgumentDecoder.swift
[39/93] Compiling ArgumentParser ArgumentDefinition.swift
[40/93] Compiling ArgumentParser ArgumentSet.swift
[41/94] Wrapping AST for Yams for debugging
[43/102] Emitting module AgentAdapterCore
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[44/103] Compiling AgentAdapterCore AgentAdapterConfiguration.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[45/103] Compiling AgentAdapterCore Agent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[46/103] Compiling AgentAdapterCore CodexAgentFormat.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/AgentAdapterCore/CodexAgentFormat.swift:47:9: error: switch must be exhaustive
45 |
46 | private static func tomlValue(_ node: Node, source: URL) throws -> String {
47 | switch node {
| |- error: switch must be exhaustive
| `- note: add missing case: '.alias(_)'
48 | case .scalar(let scalar):
49 | if let value = stringValue(node) { return quote(value) }
[47/103] Compiling AgentAdapterCore AgentAdapterGitignore.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/103] Compiling AgentAdapterCore AgentAdapterFormat.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/103] Compiling AgentAdapterCore AgentAdapterGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[50/103] Compiling AgentAdapterCore AgentAdapterDirectory.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/109] Compiling AgentAdapterCore FileSystem.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1af1ef9e2b8f7a959ad4dced2035c22f050ae85f531ed2857472423d8f2ef4d3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/10] Write swift-version-24593BA9C3E375BF.txt
[4/32] Compiling Yams Mark.swift
[5/32] Compiling Yams Node.Alias.swift
[6/32] Compiling Yams Node.Mapping.swift
[7/34] Emitting module Yams
[8/34] Emitting module ArgumentParserToolInfo
[9/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/35] Compiling Yams Node.Scalar.swift
[11/35] Compiling Yams Node.Sequence.swift
[12/35] Compiling Yams Node.swift
[13/35] Compiling Yams Resolver.swift
[14/35] Compiling Yams String+Yams.swift
[16/34] Compiling Yams YamlError.swift
[17/34] Compiling Yams YamlTagProviding.swift
[18/81] Compiling ArgumentParser EnumerableFlag.swift
[19/81] Compiling ArgumentParser ExpressibleByArgument.swift
[20/81] Compiling ArgumentParser ParsableArguments.swift
[21/81] Compiling ArgumentParser ArgumentVisibility.swift
[22/81] Compiling ArgumentParser CompletionKind.swift
[23/81] Compiling ArgumentParser Errors.swift
[24/81] Compiling ArgumentParser Flag.swift
[25/81] Compiling ArgumentParser NameSpecification.swift
[26/81] Compiling ArgumentParser Option.swift
[27/81] Compiling ArgumentParser OptionGroup.swift
[28/81] Compiling ArgumentParser ParentCommand.swift
[29/82] Emitting module ArgumentParser
[30/88] Wrapping AST for Yams for debugging
[32/96] Compiling AgentAdapterCore AgentAdapterConfiguration.swift
[33/97] Compiling AgentAdapterCore AgentAdapterDirectory.swift
[34/97] Emitting module AgentAdapterCore
[35/97] Compiling AgentAdapterCore AgentAdapterGenerator.swift
[36/97] Compiling AgentAdapterCore AgentAdapterFormat.swift
[37/97] Compiling AgentAdapterCore Agent.swift
[38/97] Compiling AgentAdapterCore AgentAdapterGitignore.swift
[39/97] Compiling AgentAdapterCore CodexAgentFormat.swift
/host/spi-builder-workspace/Sources/AgentAdapterCore/CodexAgentFormat.swift:47:9: error: switch must be exhaustive
45 |
46 | private static func tomlValue(_ node: Node, source: URL) throws -> String {
47 | switch node {
| |- error: switch must be exhaustive
| `- note: add missing case: '.alias(_)'
48 | case .scalar(let scalar):
49 | if let value = stringValue(node) { return quote(value) }
[40/97] Compiling AgentAdapterCore FileSystem.swift
BUILD FAILURE 6.1 android