Build Information
Failed to build opencode-sdk-swift, reference main (dc59af), with Swift 6.1 for Linux on 12 Jan 2026 22:41:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-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/dl-alexandre/opencode-sdk-swift.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/dl-alexandre/opencode-sdk-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at dc59af9 Remove SECURITY.md file as it is no longer needed for the project. This simplifies the documentation and focuses on essential resources.
Cloned https://github.com/dl-alexandre/opencode-sdk-swift.git
Revision (git rev-parse @):
dc59af9e52759e8bf590addd6f3008332e34fd21
SUCCESS checkout https://github.com/dl-alexandre/opencode-sdk-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/dl-alexandre/opencode-sdk-swift.git
https://github.com/dl-alexandre/opencode-sdk-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "opencode-sdk-swift",
"name" : "opencode-sdk-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "opencode-sdk-swift",
"targets" : [
"opencode-sdk-swift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "opencode_sdk_swiftTests",
"module_type" : "SwiftTarget",
"name" : "opencode-sdk-swiftTests",
"path" : "Tests/opencode-sdk-swiftTests",
"sources" : [
"Concurrency/ConcurrencyTests.swift",
"Configuration/ConfigurationTests.swift",
"EdgeCases/EdgeCaseTests.swift",
"ErrorHandling/ErrorHandlingTests.swift",
"Helpers/TestHelpers.swift",
"Models/ModelTests.swift",
"RequestContext/RequestContextTests.swift",
"URLRequest/URLRequestTests.swift"
],
"target_dependencies" : [
"opencode-sdk-swift"
],
"type" : "test"
},
{
"c99name" : "opencode_sdk_swift",
"module_type" : "SwiftTarget",
"name" : "opencode-sdk-swift",
"path" : "Sources/opencode-sdk-swift",
"product_memberships" : [
"opencode-sdk-swift"
],
"sources" : [
"Core/Client.swift",
"Core/Configuration.swift",
"Core/Error.swift",
"Core/Request.swift",
"Models/agentModels.swift",
"Models/appModels.swift",
"Models/authModels.swift",
"Models/commandModels.swift",
"Models/configModels.swift",
"Models/errorModels.swift",
"Models/fileModels.swift",
"Models/globalModels.swift",
"Models/lspModels.swift",
"Models/mcpModels.swift",
"Models/messageModels.swift",
"Models/partModels.swift",
"Models/partinputModels.swift",
"Models/pathModels.swift",
"Models/permissionModels.swift",
"Models/projectModels.swift",
"Models/providerModels.swift",
"Models/ptyModels.swift",
"Models/questionModels.swift",
"Models/sessionModels.swift",
"Models/todoModels.swift",
"Models/tuiModels.swift",
"Resources/app.swift",
"Resources/auth.swift",
"Resources/batch.swift",
"Resources/command.swift",
"Resources/config.swift",
"Resources/event.swift",
"Resources/experimental.swift",
"Resources/file.swift",
"Resources/find.swift",
"Resources/formatter.swift",
"Resources/global.swift",
"Resources/instance.swift",
"Resources/lsp.swift",
"Resources/mcp.swift",
"Resources/part.swift",
"Resources/path.swift",
"Resources/permission.swift",
"Resources/project.swift",
"Resources/provider.swift",
"Resources/pty.swift",
"Resources/question.swift",
"Resources/session.swift",
"Resources/tool.swift",
"Resources/tui.swift",
"Resources/vcs.swift",
"Resources/worktree.swift",
"opencode_sdk_swift.swift"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:5a651828b24304580408903d9e8c129215b04dc69edd6058f3847d01e034cce9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.1
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.1
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:5a651828b24304580408903d9e8c129215b04dc69edd6058f3847d01e034cce9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.1
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.1
BUILD FAILURE 6.1 linux